18 lines
352 B
Django/Jinja
18 lines
352 B
Django/Jinja
{{ 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 }}
|
|
}
|