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:
1
plugins/nginx-vhosts/templates/hsts.conf.sigil
Normal file
1
plugins/nginx-vhosts/templates/hsts.conf.sigil
Normal file
@@ -0,0 +1 @@
|
||||
add_header Strict-Transport-Security "{{ $.HSTS_HEADERS }}" always;
|
||||
Reference in New Issue
Block a user