<div class="gmail_quote">On 29 November 2010 01:15, Maxim Dounin <span dir="ltr">&lt;<a href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>&gt;</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>
&gt; I&#39;m trying to test IPv6 on a couple of sites and I seem to have encountered<br>
&gt; a bug with nginx.<br>
&gt;<br>
&gt; I have 2 backend servers behind a proxy, all servers run nginx 0.8.53.<br>
&gt;<br>
&gt; If I enter the IPv6 address into the browser, the address is trimmed when it<br>
&gt; reaches the backend server.<br>
&gt;<br>
&gt; Here is an example using PHP:<br>
&gt;<br>
&gt; Direct request to backend server (works):<br>
&gt;<br>
&gt; http://[2a02:40:40:7::3]/test.php<br>
&gt; $_SERVER[&#39;HTTP_HOST&#39;] = [2a02:40:40:7::3]<br>
&gt;<br>
&gt; Via proxy:<br>
&gt;<br>
&gt; http://[2a02:40:40:7::7]/test.php<br>
&gt; $_SERVER[&#39;HTTP_HOST&#39;] = [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>