From 56234766e99e8d890c150258b7f9bf59b68eb1b3 Mon Sep 17 00:00:00 2001 From: BestLibre Date: Tue, 6 Feb 2018 16:17:12 +0100 Subject: [PATCH] Modify template for one user auth --- caddy_proxy/vhost.mustache | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 }