Skip to content

Commit

Permalink
Modify template for one user auth
Browse files Browse the repository at this point in the history
  • Loading branch information
bestlibre committed Feb 6, 2018
1 parent b4bd0a3 commit 5623476
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions caddy_proxy/vhost.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
websocket
}
{{/directory}}
{{#user_pwd}}
basicauth / {{user}} {{pwd}}
{{/user_pwd}}
{{#user}}
{{#pwd}}
basicauth / {{user}} {{pwd}}
{{/pwd}}
{{/user}}
log stdout
errors stdout
}
Expand Down

0 comments on commit 5623476

Please sign in to comment.