add /robots.txt

This commit is contained in:
vchikalkin 2024-07-31 08:48:03 +03:00
parent 92cc200af6
commit 8ada0928b0
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
location /robots.txt {
default_type text/plain;
return 200 "User-agent: *\nDisallow: /";
}

View File

@ -22,4 +22,5 @@ server {
}
include /etc/nginx/include/location.conf;
include /etc/nginx/include/robots.conf;
}