fix caddyfile

3-replace-nginx-with-caddy2
HgO 2021-03-28 23:04:35 +02:00
parent f052123d06
commit 2bea13b75e
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
{{ ansible_managed | comment }} {{ ansible_managed | comment }}
{{ mumble_web_domains | join(',') }} { {{ mumble_web_domains | join(', ') }} {
root * {{ mumble_web_dist_dir }} root * {{ mumble_web_dist_dir }}
file_server file_server
{% if not acme_enabled %} {% if not acme_enabled %}
tls internal tls internal
{% endif %} {% endif %}
reverse_proxy /mumble http://localhost:{{ mumble_web_websockify_port }} reverse_proxy /mumble* http://localhost:{{ mumble_web_websockify_port }}
log { log {
output file {{ caddy_log_dir }}/{{ mumble_web_domains | first }}.log output file {{ caddy_log_dir }}/{{ mumble_web_domains | first }}.log