proxying from ipv4 to ipv6
September 06, 2011 03:01AM
hi

i'd like to know if its possible to have nginx bind to an ipv4 port but then proxy to a localhost ipv6 server, like:

location /foo/ {
proxy_pass http://[::1]:3000;
}

nginx doesn't like that format...any ideas how to proxy from ipv4 -> ipv6 ?

thanks
brad
Re: proxying from ipv4 to ipv6
September 06, 2011 08:51AM
I don't believe that the HttpProxyModule (or the HttpFcgiModule module) supports IPv6 addresses.

--
Jim Ohlstein
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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