Have nginx listen on ipv6 addresses as well

master
kaiyou 7 years ago
parent ffac116e1f
commit b011a44814

@ -24,6 +24,7 @@ http {
server {
listen 80;
listen [::]:80;
# Load Lua variables
set_by_lua $webmail 'return os.getenv("WEBMAIL")';

@ -25,6 +25,8 @@ http {
server {
listen 80;
listen 443 ssl;
listen [::]:80;
listen [::]:443 ssl;
# TLS configuration hardened according to:
# https://bettercrypto.org/static/applied-crypto-hardening.pdf

@ -20,6 +20,8 @@ http {
server {
listen 80;
listen 443 ssl;
listen [::]:80;
listen [::]:443 ssl;
# TLS configuration hardened according to:
# https://bettercrypto.org/static/applied-crypto-hardening.pdf

Loading…
Cancel
Save