Welcome! Log In Create A New Profile

Advanced

[PATCH] ipv6 support for proxy_pass

Matthieu Tourne
March 07, 2012 08:38PM
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.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] ipv6 support for proxy_pass Attachments

Matthieu Tourne 1447 March 07, 2012 08:38PM

Re: [PATCH] ipv6 support for proxy_pass

Maxim Dounin 628 March 08, 2012 05:16AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready