[PATCH] ipv6 support for proxy_pass
mdounin at mdounin.ru
Thu Mar 8 10:14:52 UTC 2012
On Wed, Mar 07, 2012 at 05:35:56PM -0800, Matthieu Tourne wrote:
> Attached is a simple patch to proxy_pass to an IPv6 upstream.
> It currently works only with a variable. proxy_pass ::1; wont' work for
> but this will :
> set $addr "[::1]:8080";
> proxy_pass http://$addr;
> You also need to add --with-ipv6 to your configure line.
This should be addressed in ngx_parse_url(). The ipv6 cleanup is
planned somewhere after 1.1.x become stable.
More information about the nginx-devel