Fixes #68 - HSTS is now part of the UI

This commit is contained in:
Jamie Curnow committed 2019-02-18 18:21:45 +10:00
1 parent 4d754275ab
commit 2a3d792591
24 files changed
+436 -94

No files matched your search

+6 -1
View File
@@ -4,11 +4,16 @@
server {
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
{% include "_hsts.conf" %}
access_log /data/logs/dead_host-{{ id }}.log standard;
{{ advanced_config }}
return 404;
location / {
{% include "_forced_ssl.conf" %}
{% include "_hsts.conf" %}
return 404;
}
}
{% endif %}