Have nginx listen on ipv6 addresses as well

master
kaiyou 8 years ago
parent ffac116e1f
commit b011a44814

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

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

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

Loading…
Cancel
Save