From b94d0c1bba205af6a093be3d809f2a9b608e50c9 Mon Sep 17 00:00:00 2001 From: Bento Silveira Date: Sun, 23 Jul 2023 13:30:20 -0300 Subject: [PATCH] Disabled IPv6 in Nginx config --- config/piped.conf.template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/piped.conf.template b/config/piped.conf.template index 2eabcd4..9507f54 100644 --- a/config/piped.conf.template +++ b/config/piped.conf.template @@ -1,6 +1,6 @@ server { listen *:80; - listen [::]:80; +# listen [::]:80; server_name ${FRONTEND_HOSTNAME} ${BACKEND_HOSTNAME} ${PROXY_HOSTNAME}; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; add_header 'Referrer-Policy' 'no-referrer'; @@ -14,7 +14,7 @@ server { server { listen *:443 ssl http2; - listen [::]:443 ssl http2; +# listen [::]:443 ssl http2; server_name ${FRONTEND_HOSTNAME}; @@ -34,7 +34,7 @@ proxy_cache_path /tmp/pipedapi_cache levels=1:2 keys_zone=pipedapi:4m max_size=2 server { listen *:443 ssl http2; - listen [::]:443 ssl http2; +# listen [::]:443 ssl http2; server_name ${BACKEND_HOSTNAME}; @@ -51,7 +51,7 @@ server { server { listen *:443 ssl http2; - listen [::]:443 ssl http2; +# listen [::]:443 ssl http2; server_name ${PROXY_HOSTNAME};