summaryrefslogtreecommitdiff
path: root/caddy/Caddyfile
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-05-17 17:19:10 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-05-17 17:19:10 +0900
commit7e8e89ef2e2b2302c92e03429e43be9b1db08d49 (patch)
treee1e34abb26d098c55b46a5d2703b0757bea3a0a1 /caddy/Caddyfile
parentdd7142e08cd66656514c7468ce12be72674900a5 (diff)
Add cgit web interface at git.yyamashita.com
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 7e05478..f53ffca 100644
--- a/caddy/Caddyfile
+++ b/caddy/Caddyfile
@@ -22,3 +22,9 @@ code.yyamashita.com {
header X-Robots-Tag "noindex, nofollow"
reverse_proxy 172.19.0.1:8080
}
+
+git.yyamashita.com {
+ header Referrer-Policy "no-referrer"
+ header X-Robots-Tag "noindex, nofollow"
+ reverse_proxy cgit:80
+}