16 lines
411 B
Cheetah
16 lines
411 B
Cheetah
# Allow access to '^/.well-known/'
|
|
location ~ ^/.well-known/ {
|
|
allow all;
|
|
access_log off;
|
|
log_not_found off;
|
|
autoindex off;
|
|
#root /var/www/html;
|
|
}
|
|
|
|
# Deny all attempts to access hidden files such as .htaccess.
|
|
location ~ /\. { deny all; }
|
|
|
|
# Handling noisy messages
|
|
location = /favicon.ico { access_log off; log_not_found off; }
|
|
location = /robots.txt { access_log off; log_not_found off; }
|