<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Thanks Maxim !<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">There was a misunderstanding there, I thought I shouldn't use the whole directive, I didn't get that only the 'ipv6only=on' part was not to be repeated amongst servers.<br>
<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Works great ('of course it does!' ;o)).<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Thanks for the help again,<br>
</div><div class="gmail_extra"><div><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div>
<br><br><div class="gmail_quote">On Sat, Apr 6, 2013 at 5:25 PM, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">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 Sat, Apr 06, 2013 at 04:05:22PM -0400, B.R. wrote:<br>
<br>
> That's exactly what I tried first, and if there are multiple servers<br>
> listening to same ports, I get the following error:<br>
> nginx: [emerg] duplicate listen options for [::]:80 in<br>
> /etc/nginx/conf.d/***.conf:3<br>
<br>
</div>You've already been told to only specify listen options once.<br>
That is, you should write<br>
<br>
server {<br>
listen [::]:80 ipv6only=on;<br>
...<br>
}<br>
<br>
server {<br>
listen [::]:80;<br>
...<br>
}<br>
<br>
instead of<br>
<br>
server {<br>
listen [::]:80 ipv6only=on;<br>
...<br>
}<br>
<br>
server {<br>
listen [::]:80 ipv6only=on;<br>
...<br>
}<br>
<br>
in your config.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/en/donation.html" target="_blank">http://nginx.org/en/donation.html</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div></div>