diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-11-01 09:22:13 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-11-01 09:22:13 +0900 |
| commit | c6903d50f8c68359732858a141e8fab12cde6636 (patch) | |
| tree | a965b507a5b90cc12dd7bbed026eb2377dc026b8 | |
| parent | 1e0818240f1d022f0aa065402a3fd602c1db61cf (diff) | |
studio.yyamashita.com に Basic 認証を付ける
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| -rw-r--r-- | caddy/Caddyfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 6b6ad8d..bbdaf35 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -51,6 +51,10 @@ todo.yyamashita.com { studio.yyamashita.com { import noindex + # パスワードの平文はサーバーの /root/studio-basic-auth.txt(root のみ読める) + basic_auth { + studio $2a$14$SIhdKTJ7lmZe/lYM2AP4Su0W4T1n4w5qLY6BBT4HDlpy/kYaVrR0C + } reverse_proxy studio-app:8000 } |
