{{ subdomain }} {
	handle {
		{% if reverse_proxy_config %}
			reverse_proxy {{ hostname }}:{{ port }} {
			{{ reverse_proxy_config }}
			}
		{% else %}
			{% if hostname and port %}
				reverse_proxy {{ hostname }}:{{ port }}
			{% endif %}
		{% endif %}
		{% if additional_config %}
			{{ additional_config }}
		{% endif %}
	}
	{{ server_config }}
}