IPv6 addresses for host name are incorrectly trimmed by nginx
phil at techlightenment.com
Mon Nov 29 11:06:31 MSK 2010
On 29 November 2010 01:15, Maxim Dounin <mdounin at mdounin.ru> wrote:
> On Sun, Nov 28, 2010 at 07:19:17PM +0000, Phil Bayfield wrote:
> > I'm trying to test IPv6 on a couple of sites and I seem to have
> > a bug with nginx.
> > I have 2 backend servers behind a proxy, all servers run nginx 0.8.53.
> > If I enter the IPv6 address into the browser, the address is trimmed when
> > reaches the backend server.
> > Here is an example using PHP:
> > Direct request to backend server (works):
> > http://[2a02:40:40:7::3]/test.php
> > $_SERVER['HTTP_HOST'] = [2a02:40:40:7::3]
> > Via proxy:
> > http://[2a02:40:40:7::7]/test.php
> > $_SERVER['HTTP_HOST'] = [2a02:40:40:7:
> Known issue, ipv6 address literals not supported.
Thanks for the info, will have to hope that someone has time to fix it at
Unfortunately the only way to test via a 6to4 tunnel on an IPv4 connection
is to use the full IPv6 address.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx