From 529b4038b38cecab6601ed5bed2d340834358f45 Mon Sep 17 00:00:00 2001 From: yyamashita Date: Thu, 7 May 2026 23:54:48 +0900 Subject: Noindex entire site via robots.txt and X-Robots-Tag header --- Caddyfile | 4 +--- public/robots.txt | 3 +-- 2 files changed, 2 insertions(+), 5 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 } diff --git a/public/robots.txt b/public/robots.txt index 3c7b7de..1f53798 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1,2 @@ User-agent: * -Allow: / -Disallow: /.well-known/ +Disallow: / -- cgit v1.2.3