aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx-common/conf/nginx.conf10
1 files 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 {
70 resolver 8.8.4.4 8.8.8.8 valid=300s; 70 resolver 8.8.4.4 8.8.8.8 valid=300s;
71 resolver_timeout 5s; 71 resolver_timeout 5s;
72 72
73 http2 on;
74
73 map $http_host $can_redirect { 75 map $http_host $can_redirect {
74 hostnames; 76 hostnames;
75 77
@@ -92,6 +94,10 @@ http {
92 *.as398223.net 1; 94 *.as398223.net 1;
93 frompythonimportpodcast.com 1; 95 frompythonimportpodcast.com 1;
94 *.frompythonimportpodcast.com 1; 96 *.frompythonimportpodcast.com 1;
97 believedoubtseek.org 1;
98 *.believedoubtseek.org 1;
99 believedoubtseek.com 1;
100 *.believedoubtseek.com 1;
95 } 101 }
96 102
97 server { 103 server {
@@ -111,8 +117,8 @@ http {
111 } 117 }
112 118
113 server { 119 server {
114 listen *:443 ssl http2 default_server; 120 listen *:443 ssl default_server;
115 listen [::]:443 ssl http2 default_server; 121 listen [::]:443 ssl default_server;
116 122
117 access_log /logs/default_https_vhost.log combined_host; 123 access_log /logs/default_https_vhost.log combined_host;
118 124