IPv6 addresses for host name are incorrectly trimmed by nginx
mdounin at mdounin.ru
Mon Nov 29 04:15:43 MSK 2010
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 encountered
> 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 it
> reaches the backend server.
> Here is an example using PHP:
> Direct request to backend server (works):
> $_SERVER['HTTP_HOST'] = [2a02:40:40:7::3]
> Via proxy:
> $_SERVER['HTTP_HOST'] = [2a02:40:40:7:
Known issue, ipv6 address literals not supported.
More information about the nginx