[PATCH] ipv6 support for proxy_pass
Matthieu Tourne
matthieu.tourne at gmail.com
Thu Mar 8 01:35:56 UTC 2012
Hi,
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
instance.
but this will :
set $addr "[::1]:8080";
proxy_pass http://$addr;
You also need to add --with-ipv6 to your configure line.
Happy hacking,
Matthieu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120307/9b030bda/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipv6.patch
Type: application/octet-stream
Size: 1866 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120307/9b030bda/attachment.obj>
More information about the nginx-devel
mailing list