Advertisement
Guest User

Nginx Config File for WordPress MultiSite (2/3)

a guest
Dec 27th, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. # Global restrictions configuration file.
  2. # Designed to be included in any server {} block.</p>
  3. location = /favicon.ico {
  4. log_not_found off;
  5. access_log off;
  6. }
  7.  
  8. location = /robots.txt {
  9. allow all;
  10. log_not_found off;
  11. access_log off;
  12. }
  13.  
  14. # Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
  15. location ~ /\. {
  16. deny all;
  17. access_log off;
  18. log_not_found off;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement