Welcome! Log In Create A New Profile

Advanced

[PATCH] ipv6 support for proxy_pass

All files from this thread

File Name File Size   Posted by Date  
ipv6.patch 1.8 KB open | download Matthieu Tourne 03/07/2012 Read message
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 mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Attachments:
open | download - ipv6.patch (1.8 KB)
Subject Author Posted

[PATCH] ipv6 support for proxy_pass Attachments

Matthieu Tourne March 07, 2012 08:38PM

Re: [PATCH] ipv6 support for proxy_pass

Maxim Dounin March 08, 2012 05:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 144
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