2021-03-28 10:48:06 +02:00
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
|
2021-03-28 23:04:35 +02:00
|
|
|
{{ mumble_web_domains | join(', ') }} {
|
2021-03-28 10:48:06 +02:00
|
|
|
root * {{ mumble_web_dist_dir }}
|
|
|
|
file_server
|
|
|
|
{% if not acme_enabled %}
|
|
|
|
tls internal
|
|
|
|
{% endif %}
|
2021-03-28 23:04:35 +02:00
|
|
|
reverse_proxy /mumble* http://localhost:{{ mumble_web_websockify_port }}
|
2021-03-28 10:48:06 +02:00
|
|
|
|
|
|
|
log {
|
|
|
|
output file {{ caddy_log_dir }}/{{ mumble_web_domains | first }}.log
|
|
|
|
}
|
|
|
|
}
|