From 0b16113e1a1659c206ac1840ab9a826cb233e576 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 21 Dec 2023 16:12:45 -0300 Subject: [PATCH] And the little fixes... --- nginx/conf.d/4get.zzls.xyz.fallback.conf | 3 +++ nginx/conf.d/logs.spanix.team.conf | 3 ++- nginx/conf.d/lol.zzls.xyz.conf | 3 ++- nginx/conf.d/mail.zzls.xyz.conf | 2 +- nginx/conf.d/stream.zzls.xyz.conf | 2 +- nginx/configs/ssl.conf | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/nginx/conf.d/4get.zzls.xyz.fallback.conf b/nginx/conf.d/4get.zzls.xyz.fallback.conf index 284a5c9..1ad3d1a 100644 --- a/nginx/conf.d/4get.zzls.xyz.fallback.conf +++ b/nginx/conf.d/4get.zzls.xyz.fallback.conf @@ -8,6 +8,9 @@ server { location / { return 301 https://4getus.zzls.xyz$request_uri; } + + listen 443 ssl; + http2 on; } server { diff --git a/nginx/conf.d/logs.spanix.team.conf b/nginx/conf.d/logs.spanix.team.conf index ce85fc1..f4b2e34 100644 --- a/nginx/conf.d/logs.spanix.team.conf +++ b/nginx/conf.d/logs.spanix.team.conf @@ -9,7 +9,8 @@ server { include configs/proxy.conf; } - listen 443 ssl http2; # managed by Certbot + listen 443 ssl; + http2 on; ssl_certificate /etc/letsencrypt/live/logs.spanix.team/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/logs.spanix.team/privkey.pem; # managed by Certbot include configs/sslConfig.conf; diff --git a/nginx/conf.d/lol.zzls.xyz.conf b/nginx/conf.d/lol.zzls.xyz.conf index 8756ca2..eaa7589 100644 --- a/nginx/conf.d/lol.zzls.xyz.conf +++ b/nginx/conf.d/lol.zzls.xyz.conf @@ -3,6 +3,7 @@ server { server_name lol.zzls.xyz; include configs/general.conf; include configs/robotsNone.conf; + # security headers add_header X-XSS-Protection "1; mode=block" always; add_header X-Content-Type-Options "nosniff" always; @@ -17,7 +18,7 @@ server { } # QUIC - include configs/http3.conf + include configs/http3.conf; listen 443 ssl; http2 on; diff --git a/nginx/conf.d/mail.zzls.xyz.conf b/nginx/conf.d/mail.zzls.xyz.conf index bb260aa..8f75502 100644 --- a/nginx/conf.d/mail.zzls.xyz.conf +++ b/nginx/conf.d/mail.zzls.xyz.conf @@ -33,7 +33,7 @@ server { # QUIC include configs/http3.conf; - listen 443 ssl + listen 443 ssl; http2 on; include configs/ssl.conf; } diff --git a/nginx/conf.d/stream.zzls.xyz.conf b/nginx/conf.d/stream.zzls.xyz.conf index bcdeb3e..6234be3 100644 --- a/nginx/conf.d/stream.zzls.xyz.conf +++ b/nginx/conf.d/stream.zzls.xyz.conf @@ -43,7 +43,7 @@ server { } # QUIC - include config/http3.conf; + include configs/http3.conf; listen 443 ssl; http2 on; diff --git a/nginx/configs/ssl.conf b/nginx/configs/ssl.conf index 2ec96f2..cf1c499 100644 --- a/nginx/configs/ssl.conf +++ b/nginx/configs/ssl.conf @@ -1,3 +1,3 @@ ssl_certificate /etc/letsencrypt/live/zzls.xyz/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/zzls.xyz/privkey.pem; -include configs/sslConfig.conf +include configs/sslConfig.conf;