IPv4 & IPv6
B.R.
reallfqq-nginx at yahoo.fr
Sat Apr 6 21:43:51 UTC 2013
Thanks Maxim !
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.
Works great ('of course it does!' ;o)).
Thanks for the help again,
---
*B. R.*
On Sat, Apr 6, 2013 at 5:25 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> On Sat, Apr 06, 2013 at 04:05:22PM -0400, B.R. wrote:
>
> > That's exactly what I tried first, and if there are multiple servers
> > listening to same ports, I get the following error:
> > nginx: [emerg] duplicate listen options for [::]:80 in
> > /etc/nginx/conf.d/***.conf:3
>
> You've already been told to only specify listen options once.
> That is, you should write
>
> server {
> listen [::]:80 ipv6only=on;
> ...
> }
>
> server {
> listen [::]:80;
> ...
> }
>
> instead of
>
> server {
> listen [::]:80 ipv6only=on;
> ...
> }
>
> server {
> listen [::]:80 ipv6only=on;
> ...
> }
>
> in your config.
>
> --
> Maxim Dounin
> http://nginx.org/en/donation.html
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130406/4f6bbeb5/attachment.html>
More information about the nginx
mailing list