feat: Enable HSTS by default

This enables the HSTS header by default when an SSL certificate is in use. HSTS options can also be managed via the nginx:set command, which also exposes the ability to disable HSTS for your application.
This commit is contained in:
Jose Diaz-Gonzalez committed 2020-02-06 11:08:13 -05:00
1 parent d42fb02136
commit 73e7ff7b18
8 files changed
+151 -8

No files matched your search

@@ -0,0 +1 @@
add_header Strict-Transport-Security "{{ $.HSTS_HEADERS }}" always;