1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +00:00

nginx: explicitly listen on both ipv4 and ipv6 (works even if ipv6 isn't present)

This commit is contained in:
Joshua Tauberer 2014-11-28 14:40:02 +00:00
parent 82cf5b72e4
commit 31d6128a2b

View File

@ -13,6 +13,7 @@ server {
# The secure HTTPS server. # The secure HTTPS server.
server { server {
listen 443 ssl; listen 443 ssl;
listen [::]:443 ssl;
server_name $HOSTNAME; server_name $HOSTNAME;