summaryrefslogtreecommitdiff
path: root/caddy/Caddyfile
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-06-19 13:39:27 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-06-19 13:39:27 +0900
commit50e887cb22ca375e66f7948033e05f596c9f43f5 (patch)
tree20ee5aeac8ec69f3f4b23c53ef407f6e62a8d71f /caddy/Caddyfile
parenta7890e22d52677de267e0d4c79f2c7627f3a96c4 (diff)
Add hetzner-admin: SSH-based server management web UI
Basic Auth protected web UI with buttons to restart services and reboot. SSH key with authorized_keys command= restriction limits executable commands. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'caddy/Caddyfile')
-rw-r--r--caddy/Caddyfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/caddy/Caddyfile b/caddy/Caddyfile
index f53ffca..f308bad 100644
--- a/caddy/Caddyfile
+++ b/caddy/Caddyfile
@@ -28,3 +28,9 @@ git.yyamashita.com {
header X-Robots-Tag "noindex, nofollow"
reverse_proxy cgit:80
}
+
+admin.yyamashita.com {
+ header Referrer-Policy "no-referrer"
+ header X-Robots-Tag "noindex, nofollow"
+ reverse_proxy hetzner-admin:5000
+}