Skip to content

Instantly share code, notes, and snippets.

@LEXASOFT
Created August 20, 2014 05:40
Show Gist options
  • Save LEXASOFT/5873a5ae03935e223e54 to your computer and use it in GitHub Desktop.
Save LEXASOFT/5873a5ae03935e223e54 to your computer and use it in GitHub Desktop.
robots.txt in nginx
location /robots.txt {
return 200 "User-agent: *\nDisallow: /";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment