Have nginx listen on ipv6 addresses as well
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user