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