{%- for domain in svc.additional_domains|default([]) %}
{{ domain }},
{% endfor -%}
{{ svc.domain }} {
import default
{{ svc.caddy_extra | default('') | indent(width='\t', first=True) }}
reverse_proxy {{ svc.name }}:{{ svc.port }}
}