1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-05-29 23:07:50 +02:00

Have nginx listen on ipv6 addresses as well

This commit is contained in:
kaiyou 2017-06-05 12:17:06 +02:00
parent ffac116e1f
commit b011a44814
3 changed files with 5 additions and 0 deletions

View File

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

View File

@ -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

View File

@ -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