Since an update my nginx server is only available via IPv6 and not IPv4 while my config contained
listen [::]:80 default_server;
Now I've changed this to
listen [::]:80 default_server ipv6only=off;
and the server is available via IPv4 again. This seams to be due to the changes in nginx 1.3.4 (section “Changes with nginx 1.3.4”).
Since I have more than one server configuration on the same mashine I would like to set the ipv6only=off
globally is there any possibility to do so?
ipv6only
now defaults to enabled if you are using the single-line listen directive in your question example. It's better to explicitly define a listen line for both IPv4 and another for IPv6, and the you don't need to worry aboutipv6only
at all (delete the phrase if exists).