IPv6 & IPv4 backend with proxy_bind

Maxim Dounin mdounin at mdounin.ru
Mon Nov 18 11:45:54 UTC 2013


On Sat, Nov 16, 2013 at 11:04:20PM +1030, SplitIce wrote:

> Looking at the documentation it seems there is no way to specify a proxy
> bind address for both IPv4 and IPv6.
> You can specify one or the other, but never both. This is a particular
> issue when a configuration is setup to allow for a failure in IPv6 transit
> / routing.
> Is it possible to get a proxy_bind_v6 directive?

Could you please clarify the intended use case?

The proxy_bind directive is expected to be used to force an IP 
address used to connect an upstream, originally - to make sure the 
outgoing address used is one allowed by upstream's security 
restrictions.  Just using distinct proxy_bind directives for 
different upstreams is usually expected to be enough (if at all 

Maxim Dounin

More information about the nginx-devel mailing list