location = /robots.txt {
add_header Content-Type text/plain;
return 200 "User-agent: *\nDisallow: /\n";
}
See https://moz.com/learn/seo/robotstxt for more options.
location = /robots.txt {
add_header Content-Type text/plain;
return 200 "User-agent: *\nDisallow: /\n";
}
See https://moz.com/learn/seo/robotstxt for more options.