Add robots.txt

This commit is contained in:
Dominic Grimm 2023-03-09 15:15:48 +01:00
parent 8def898c8a
commit d290fe476b
No known key found for this signature in database
GPG Key ID: 6F294212DEAAC530
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ http {
server {
listen 80;
location = /robots.txt {
add_header Content-Type text/plain;
return 200 "User-agent: *\nDisallow: /\n";
}
location / {
proxy_pass http://web;
proxy_buffering off;