proxy_bind

vegetax nginx-forum at forum.nginx.org
Tue Jan 17 23:29:34 UTC 2017


so following the link you have posted my version does not support
proxy_bind?


# My Version
nginx version: nginx/1.10.2



syntax:	proxy_bind address [transparent] | off;
Default:	—
Context:	stream, server
This directive appeared in version 1.9.2.
Makes outgoing connections to a proxied server originate from the specified
local IP address. Parameter value can contain variables (1.11.2). The
special value off cancels the effect of the proxy_bind directive inherited
from the previous configuration level, which allows the system to
auto-assign the local IP address.

The transparent parameter (1.11.0) allows outgoing connections to a proxied
server originate from a non-local IP address, for example, from a real IP
address of a client:

proxy_bind $remote_addr transparent;

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272031,272033#msg-272033



More information about the nginx mailing list