Ignore default location when defined in advanced config (#79)

This commit is contained in:
jc21 authored and GitHub committed 2019-02-25 10:34:55 +10:00
1 parent 26064b20b8
commit 29bebcc73e
5 files changed
+31 -3

No files matched your search

+3
View File
@@ -10,10 +10,13 @@ server {
{{ advanced_config }}
{% if use_default_location %}
location / {
{% include "_forced_ssl.conf" %}
{% include "_hsts.conf" %}
return 404;
}
{% endif %}
}
{% endif %}