Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Nginx Config File for WordPress MultiSite (2/3)

By: a guest on Dec 27th, 2012  |  syntax: None  |  size: 0.46 KB  |  views: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }