mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-22 03:53:06 +00:00
Allow NGINX to bind IPv6 address on port 80
Configure NGINX to listen on port 80 for IPv6 addresses as well as IPv4
This commit is contained in:
parent
8392ba6613
commit
e693f4d3ce
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 reuseport;
|
listen 80 reuseport;
|
||||||
|
listen [::]:80 reuseport;
|
||||||
|
|
||||||
access_log /data/logs/access.log LOG_FORMAT;
|
access_log /data/logs/access.log LOG_FORMAT;
|
||||||
error_log /data/logs/error.log;
|
error_log /data/logs/error.log;
|
||||||
|
|
Loading…
Reference in a new issue