diff options
author | crupest <crupest@outlook.com> | 2022-11-20 13:37:05 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-20 13:37:05 +0800 |
commit | 4e6dcdc7c56e65cb8d69e35ec0b0ebc5a47f940c (patch) | |
tree | e438ebe543bee5e2afba086609096ec5ef4fc437 /tool/modules/nginx.py | |
parent | c20cacc48fde3da0cdb0fbd08184ae5637044c99 (diff) | |
download | crupest-4e6dcdc7c56e65cb8d69e35ec0b0ebc5a47f940c.tar.gz crupest-4e6dcdc7c56e65cb8d69e35ec0b0ebc5a47f940c.tar.bz2 crupest-4e6dcdc7c56e65cb8d69e35ec0b0ebc5a47f940c.zip |
Fix some nginx bugs.
Diffstat (limited to 'tool/modules/nginx.py')
-rwxr-xr-x | tool/modules/nginx.py | 2 |
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')) |