Skip to content
Snippets Groups Projects
Commit 48d36ac3 authored by nimrod's avatar nimrod
Browse files

- IPv6 listen statement will listen on both IPv4 and IPv6 by default (and will...

- IPv6 listen statement will listen on both IPv4 and IPv6 by default (and will prevent the [emerg] bind() to [::]:80 failed (98: Address already in use) error).
parent 07a35cdd
No related branches found
No related tags found
No related merge requests found
server { server {
listen 80;
listen [::]:80; listen [::]:80;
server_name stub_status; server_name stub_status;
{{ "stub_status" if nginx["version"]|version_compare("1.7.5", ">") else "stub_status on" }}; {{ "stub_status" if nginx["version"]|version_compare("1.7.5", ">") else "stub_status on" }};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment