Add robots handling

This commit is contained in:
Tommy
2024-10-13 13:46:37 -07:00
committed by GitHub
parent ba554095f1
commit 4408d67d35
8 changed files with 22 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
proxy_hide_header X-Robots-Tag;
add_header X-Robots-Tag "noindex, nofollow" always;
location = /robots.txt {
root /srv/nginx;
allow all;
access_log off;
}