Welcome! Log In Create A New Profile

Advanced

Re: [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
Maxim Dounin
March 08, 2012 05:16AM
Hello!

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

> 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.

This should be addressed in ngx_parse_url(). The ipv6 cleanup is
planned somewhere after 1.1.x become stable.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 120
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready