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:
Sweeny 2023-11-14 21:06:23 +00:00 committed by GitHub
parent 8392ba6613
commit e693f4d3ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
server {
listen 80 reuseport;
listen [::]:80 reuseport;
access_log /data/logs/access.log LOG_FORMAT;
error_log /data/logs/error.log;