<div class="gmail_quote">On 29 November 2010 01:15, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello!<br>
<div class="im"><br>
On Sun, Nov 28, 2010 at 07:19:17PM +0000, Phil Bayfield wrote:<br>
<br>
> I'm trying to test IPv6 on a couple of sites and I seem to have encountered<br>
> a bug with nginx.<br>
><br>
> I have 2 backend servers behind a proxy, all servers run nginx 0.8.53.<br>
><br>
> If I enter the IPv6 address into the browser, the address is trimmed when it<br>
> reaches the backend server.<br>
><br>
> Here is an example using PHP:<br>
><br>
> Direct request to backend server (works):<br>
><br>
> http://[2a02:40:40:7::3]/test.php<br>
> $_SERVER['HTTP_HOST'] = [2a02:40:40:7::3]<br>
><br>
> Via proxy:<br>
><br>
> http://[2a02:40:40:7::7]/test.php<br>
> $_SERVER['HTTP_HOST'] = [2a02:40:40:7:<br>
<br>
</div>Known issue, ipv6 address literals not supported.<br>
<br>
<a href="http://nginx.org/pipermail/nginx/2010-November/023652.html" target="_blank">http://nginx.org/pipermail/nginx/2010-November/023652.html</a><br>
<br></blockquote><div> </div></div>Thanks for the info, will have to hope that someone has time to fix it at some point!
<div>Unfortunately the only way to test via a 6to4 tunnel on an IPv4 connection is to use the full IPv6 address.</div>