nginx:robots.txt

robots.txt

server {
...
    location = /robots.txt {
       add_header Content-Type text/plain;
       return 200 "User-agent: *\nDisallow: /\n";
    }
}
  • nginx/robots.txt.txt
  • Последнее изменение: 2019/09/26 18:54
  • mirocow