summaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
authoryyamashita <yyamashita@mosquit.one>2026-05-07 23:54:48 +0900
committeryyamashita <yyamashita@mosquit.one>2026-05-07 23:54:48 +0900
commit529b4038b38cecab6601ed5bed2d340834358f45 (patch)
tree4155a9431ab20ddf7fd2beed79ec458c6e4b6730 /Caddyfile
parente342ca6632a56f0ab0a5b252bf01568f1a66f4c9 (diff)
Noindex entire site via robots.txt and X-Robots-Tag header
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Caddyfile b/Caddyfile
index ef3ba48..ae41901 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,8 +1,6 @@
golive.yyamashita.com {
header Referrer-Policy "no-referrer"
-
- @well-known path /.well-known/*
- header @well-known X-Robots-Tag "noindex, nofollow"
+ header X-Robots-Tag "noindex, nofollow"
reverse_proxy app:3000
}