Skip to content

Instantly share code, notes, and snippets.

@felipekm
Created February 5, 2018 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipekm/7bc80806b48e1083bd7ca64c3c6d198c to your computer and use it in GitHub Desktop.
Save felipekm/7bc80806b48e1083bd7ca64c3c6d198c to your computer and use it in GitHub Desktop.
NGINX robots.txt
location /robots.txt { alias /home/www/html/robots.txt; }
location /robots.txt { root /home/www/html/; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment