Brilliant one-line nginx directive to serve a built-in robots.txt response.
location /robots.txt {return 200 "User-agent: *\nDisallow: /\n";}
Source: http://blog.tcs.de/serve-robots-txt-inline-in-nginx/
Brilliant one-line nginx directive to serve a built-in robots.txt response.
location /robots.txt {return 200 "User-agent: *\nDisallow: /\n";}
Source: http://blog.tcs.de/serve-robots-txt-inline-in-nginx/