diff options
| author | yyamashita <yyamashita@mosquit.one> | 2026-05-07 23:54:48 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@mosquit.one> | 2026-05-07 23:54:48 +0900 |
| commit | 529b4038b38cecab6601ed5bed2d340834358f45 (patch) | |
| tree | 4155a9431ab20ddf7fd2beed79ec458c6e4b6730 | |
| parent | e342ca6632a56f0ab0a5b252bf01568f1a66f4c9 (diff) | |
Noindex entire site via robots.txt and X-Robots-Tag header
| -rw-r--r-- | Caddyfile | 4 | ||||
| -rw-r--r-- | public/robots.txt | 3 |
2 files changed, 2 insertions, 5 deletions
@@ -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: / |
