-
-
Save svx/b28350668b64da2de565e4283f1859d3 to your computer and use it in GitHub Desktop.
Stop search engines from indexing .txt, .log, .xml, .css and .js files in Nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~* \.(txt|log|xml|css|js)$ { | |
add_header X-Robots-Tag noindex; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment