aboutsummaryrefslogtreecommitdiff
path: root/tool/modules
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-20 13:37:05 +0800
committercrupest <crupest@outlook.com>2022-11-20 13:37:05 +0800
commit598556d62e3653342c83a148b90c18cc16bedd40 (patch)
treee438ebe543bee5e2afba086609096ec5ef4fc437 /tool/modules
parentce5d73b998ca151968621eed49fda5ce32ed2a13 (diff)
downloadcrupest-598556d62e3653342c83a148b90c18cc16bedd40.tar.gz
crupest-598556d62e3653342c83a148b90c18cc16bedd40.tar.bz2
crupest-598556d62e3653342c83a148b90c18cc16bedd40.zip
Fix some nginx bugs.
Diffstat (limited to 'tool/modules')
-rwxr-xr-xtool/modules/nginx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/modules/nginx.py b/tool/modules/nginx.py
index e9cc0d9..ebbbee5 100755
--- a/tool/modules/nginx.py
+++ b/tool/modules/nginx.py
@@ -16,7 +16,7 @@ with open(os.path.join(nginx_template_dir, 'server.schema.json')) as f:
jsonschema.validate(server, schema)
-non_template_files = ['ssl.conf', 'https-redirect.conf']
+non_template_files = ['ssl.conf', 'forbid_unknown_domain.conf']
root_template = Template(os.path.join(
nginx_template_dir, 'root.conf.template'))