Files
nginx-proxy-manager/backend/templates/_hsts.conf
2023-10-10 19:55:42 +02:00

8 lines
215 B
Plaintext

{% 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 %}