ansible-role-mumble/templates/mumble-web/Caddyfile.j2

14 lines
351 B
Caddyfile
Raw Normal View History

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