{% for site in caddy_domains %}
{{ site.domain }} {
	reverse_proxy localhost:{{ site.proxy_port }}
}

{% endfor %}
{% if countdown_domains is defined and countdown_domains | length > 0 %}
{{ countdown_domains | join(', ') }} {
{% if chemnitz_live | default(false) | bool %}
	reverse_proxy localhost:{{ countdown_live_port | default(3001) }}
{% else %}
	root * /var/www/countdown
	file_server
{% endif %}
}

{% endif %}
