comparison src/http/modules/ngx_http_fastcgi_module.c @ 6530:1d0e03db9f8e

Upstream: the "transparent" parameter of proxy_bind and friends. This parameter lets binding the proxy connection to a non-local address. Upstream will see the connection as coming from that address. When used with $remote_addr, upstream will accept the connection from real client address. Example: proxy_bind $remote_addr transparent;
author Roman Arutyunyan <arut@nginx.com>
date Fri, 18 Dec 2015 19:05:27 +0300
parents b5734248d5e7
children 20eb4587225b
comparison
equal deleted inserted replaced
6529:cb8177ca0990 6530:1d0e03db9f8e
277 NGX_HTTP_LOC_CONF_OFFSET, 277 NGX_HTTP_LOC_CONF_OFFSET,
278 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.ignore_client_abort), 278 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.ignore_client_abort),
279 NULL }, 279 NULL },
280 280
281 { ngx_string("fastcgi_bind"), 281 { ngx_string("fastcgi_bind"),
282 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, 282 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE12,
283 ngx_http_upstream_bind_set_slot, 283 ngx_http_upstream_bind_set_slot,
284 NGX_HTTP_LOC_CONF_OFFSET, 284 NGX_HTTP_LOC_CONF_OFFSET,
285 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.local), 285 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.local),
286 NULL }, 286 NULL },
287 287