-
-
Save kokuyouwind/67f06eb3f1894138926b to your computer and use it in GitHub Desktop.
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 = /favicon.ico { access_log /dev/null; log_not_found off; } | |
#location = /robots.txt { access_log /dev/null; log_not_found off; } | |
location = /apple-touch-icon.png { access_log /dev/null; log_not_found off; } | |
location = /apple-touch-icon-precomposed.png { access_log /dev/null; log_not_found off; } | |
location ~ /\. { deny all; access_log /dev/null; log_not_found off; } | |
location ~* /wp-(config|blog-header)\.php$ { access_log /dev/null; log_not_found off; return 404; } | |
location ~* (readme|readme-[^\.]+)\.(txt|html?)$ { access_log /dev/null; log_not_found off; return 404; } | |
location ~* .*\.(cache|sql|log)$ { access_log /dev/null; log_not_found off; return 404; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment