{% if canonical_domain is defined %} # _canonical_domain.conf {% if ssl_enabled %} Redirect / "https://{{canonical_domain}}/" {% else %} Redirect / "http://{{canonical_domain}}/" {% endif %} {% endif %}