]> git.kaiwu.me - nginx.git/commit
Upstream: the "transparent" parameter of proxy_bind and friends.
authorRoman Arutyunyan <arut@nginx.com>
Fri, 18 Dec 2015 16:05:27 +0000 (19:05 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Fri, 18 Dec 2015 16:05:27 +0000 (19:05 +0300)
commitbe79f5cb16eeb452e2a9e343a89f89b3b47bc5a2
tree00ab618ce2f89cd97f91982cf822f74cc8e16754
parent77ec993fd7300423aab8f6c798082b9421f51a24
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;
auto/unix
src/event/ngx_event_connect.c
src/event/ngx_event_connect.h
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_memcached_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h
src/stream/ngx_stream_proxy_module.c