Files
nginx-proxy-manager/backend/templates/_hsts.conf
Zoey 19a304d9ce init
Signed-off-by: Zoey <zoey@z0ey.de>
2022-12-17 14:25:32 +01:00

8 lines
202 B
Plaintext

{% if certificate and certificate_id > 0 -%}
{% if ssl_forced == 1 or ssl_forced == true %}
{% if hsts_enabled == 1 or hsts_enabled == true %}
security_headers on;
{% endif %}
{% endif %}
{% endif %}