From ef83557946cdf9550f8b290c98fe05665f4a7cb7 Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Sun, 3 Dec 2023 11:40:44 -0800 Subject: nginx: upgrade, add redirects --- nginx-common/conf/nginx.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nginx-common/conf/nginx.conf b/nginx-common/conf/nginx.conf index 33e2ad9..f5d5c03 100644 --- a/nginx-common/conf/nginx.conf +++ b/nginx-common/conf/nginx.conf @@ -70,6 +70,8 @@ http { resolver 8.8.4.4 8.8.8.8 valid=300s; resolver_timeout 5s; + http2 on; + map $http_host $can_redirect { hostnames; @@ -92,6 +94,10 @@ http { *.as398223.net 1; frompythonimportpodcast.com 1; *.frompythonimportpodcast.com 1; + believedoubtseek.org 1; + *.believedoubtseek.org 1; + believedoubtseek.com 1; + *.believedoubtseek.com 1; } server { @@ -111,8 +117,8 @@ http { } server { - listen *:443 ssl http2 default_server; - listen [::]:443 ssl http2 default_server; + listen *:443 ssl default_server; + listen [::]:443 ssl default_server; access_log /logs/default_https_vhost.log combined_host; -- cgit v1.2.3