Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement