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

View file

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