Browse Source

fix default

neil 3 years ago
parent
commit
f6535b3eb7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      nginx.tmpl

+ 4 - 1
nginx.tmpl

@@ -150,7 +150,10 @@ server {
 	listen [::]:{{ $external_http_port }};
 	{{ end }}
 	{{ $access_log }}
-	return 503;
+	include /etc/nginx/vhost.d/default;
+        location / {
+            return 503;
+        }
 }
 
 {{ if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}