
Nginx Config File for WordPress MultiSite (2/3)
By: a guest on
Dec 27th, 2012 | syntax:
None | size: 0.46 KB | hits: 29 | expires: Never
# Global restrictions configuration file.
# Designed to be included in any server {} block.</p>
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}