nginx-proxy-manager/backend/templates/_hsts.conf
Zoey efcca74d67 fix security headers and sockets
Signed-off-by: Zoey <zoey@z0ey.de>
2023-10-10 19:55:42 +02:00

7 lines
215 B
Text

{% if certificate and certificate_id > 0 -%}
{% if ssl_forced == 1 or ssl_forced == true %}
{% if hsts_enabled == 1 or hsts_enabled == true %}
include conf.d/include/hsts.conf;
{% endif %}
{% endif %}
{% endif %}