Ipv6 support for proxy_pass

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.

Hello!

On Wed, Mar 07, 2012 at 05:35:56PM -0800, Matthieu T. wrote:

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.

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs