IPV6 problems

Normally how I setup nginx is to proxy php/perl to apache sitting on
port 81, for ipv6
its also a proxy pass for perl/php to some upstream local ipv4 address.

For ipv6 when typing in a domain in browser utilizing a ipv6 address all
works just fine,
but if I use a IPV6 IP address in the browser I get:

400 Bad syntax.

this is only for the proxy to apache for php/perl requests.

Can someone look into this issue why number(hex) addresses in browser
will not work
while domains going to IPV6 do…

Dan.

Posted at Nginx Forum:

This being worked on? Hard to debug ipv6 at times without use of IPV6
address in browser…

Dan.

Posted at Nginx Forum:

Hello!

On Sat, Jun 25, 2011 at 01:15:53AM -0400, syle wrote:

this is only for the proxy to apache for php/perl requests.

Can someone look into this issue why number(hex) addresses in browser
will not work
while domains going to IPV6 do…

There are some missing parts in ipv6 address parsing in various
places, notably $host will have incorrect value if you use ipv6
address in browser. Most likely it’s the issue you’re facing.

Maxim D.