Files
dokku/plugins/nginx-vhosts/templates/hsts.conf.sigil
Jose Diaz-Gonzalez 73e7ff7b18 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.
2020-02-06 11:08:13 -05:00

2 lines
68 B
Plaintext

add_header Strict-Transport-Security "{{ $.HSTS_HEADERS }}" always;