diff --git a/caddy_proxy/vhost.mustache b/caddy_proxy/vhost.mustache index ab8ffde..2f15df7 100644 --- a/caddy_proxy/vhost.mustache +++ b/caddy_proxy/vhost.mustache @@ -9,9 +9,11 @@ websocket } {{/directory}} -{{#user_pwd}} - basicauth / {{user}} {{pwd}} -{{/user_pwd}} +{{#user}} + {{#pwd}} + basicauth / {{user}} {{pwd}} + {{/pwd}} +{{/user}} log stdout errors stdout }