mirror of
https://github.com/Mailu/Mailu.git
synced 2025-06-02 23:17:26 +02:00
Have nginx listen on ipv6 addresses as well
This commit is contained in:
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…
x
Reference in New Issue
Block a user