2024-02-17 11:00:06 +02:00
|
|
|
{{ external_url }} {
|
|
|
|
|
|
|
|
{% if tls is defined and tls.type != 'auto' %}
|
|
|
|
{% if tls.type == 'internal' %}
|
|
|
|
tls internal
|
|
|
|
{% elif tls.type == 'cloudflare' %}
|
|
|
|
tls {
|
|
|
|
dns cloudflare {{ tls.cloudflare_token }}
|
|
|
|
}
|
|
|
|
{% elif tls.type == 'file' %}
|
|
|
|
tls {{ tls.cert }} {{ tls.key }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
reverse_proxy {{ proxy_url }}
|
2024-02-18 09:52:10 +02:00
|
|
|
import vhost-access-log {{ app_name | default('default') }}
|
2024-02-17 11:00:06 +02:00
|
|
|
}
|