Welcome! Log In Create A New Profile

Advanced

Re: IPv6 enabled Nginx default bind port

September 06, 2009 04:24AM
Hi.
Many thanks for your reply.

I do not want it to be ipv6only - I did however find the option in ru docs and source. I want it to be 6 and 4. As it is in case I put listen [::]:80. What I am suggesting is that if nginx is compiled --with-ipv6 that listen is by default [::]:80 instead of 80.

To be even more descriptive: If I have an ipv6 enabled nginx and put this in configuration

server {
root /var/www;
}

This will listen on IPv4 port 80 and it will not be accessible over ipv6. I have to put:

server {
listen [::]:80;
root /var/www;
}

If I then add another server declaration and forget to add listen [::]:80, nginx will fail to start up.

I'm just saying, if ipv6 is enabled, it is desired, and default listen should be [::]:80 instead od 80.

Hope I was able to explain better what I meant now.

Best regards,
-Zobo
Subject Author Posted

IPv6 enabled Nginx default bind port

zobo September 06, 2009 03:39AM

Re: IPv6 enabled Nginx default bind port

Igor Sysoev September 06, 2009 04:10AM

Re: IPv6 enabled Nginx default bind port

Igor Sysoev September 06, 2009 04:16AM

Re: IPv6 enabled Nginx default bind port

zobo September 06, 2009 04:24AM

Re: IPv6 enabled Nginx default bind port

Igor Sysoev September 06, 2009 08:26AM

Re: IPv6 enabled Nginx default bind port

zobo September 06, 2009 08:49AM

Re: IPv6 enabled Nginx default bind port

kuisma September 27, 2009 03:33AM

Re: IPv6 enabled Nginx default bind port

Igor Sysoev September 27, 2009 03:56AM

Re: IPv6 enabled Nginx default bind port

kuisma September 27, 2009 05:26AM

Re: IPv6 enabled Nginx default bind port

Igor Sysoev September 27, 2009 11:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 339
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready