Nginx 1.4 problem

Maxim Dounin mdounin at mdounin.ru
Wed May 1 21:27:42 UTC 2013


Hello!

On Wed, May 01, 2013 at 02:18:44PM -0700, Paul N. Pace wrote:

> On Wed, May 1, 2013 at 2:07 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> > Hello!
> >
> > On Wed, May 01, 2013 at 11:17:10AM -0700, Alder Network wrote:
> >
> >> Just for clarity, I want to be listening on both IPv4 and IPv6 on the same
> >> port.
> >
> > You have to write
> >
> >     listen 80;
> >     listen [::]:80;
> >
> > to listen on both IPv4 and IPv6.
> 
> Doesn't that require ipv6only=on?
> 
>      listen 80;
>      listen [::]:80 ipv6only=on;

As of nginx 1.3.4+, it's on by default:

[...]

> >> >> Note that since 1.3.4 ipv6only listen option is on by default, and
> >> >> if you have

[...]

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list