diff options
Diffstat (limited to 'caddy/Caddyfile')
| -rw-r--r-- | caddy/Caddyfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/caddy/Caddyfile b/caddy/Caddyfile index bbdaf35..ab7d955 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -52,7 +52,9 @@ todo.yyamashita.com { studio.yyamashita.com { import noindex # パスワードの平文はサーバーの /root/studio-basic-auth.txt(root のみ読める) - basic_auth { + # /healthz は status の死活監視用に認証なしで通す + @protected not path /healthz + basic_auth @protected { studio $2a$14$SIhdKTJ7lmZe/lYM2AP4Su0W4T1n4w5qLY6BBT4HDlpy/kYaVrR0C } reverse_proxy studio-app:8000 |
