Browse Source

Minor RegEx fix

Server threw "access forbidden by rule - Error code 403", if the string "log" found in URL.
Fixed it by a adding the missing '$' expression on line 59.
old-stable
Sameer Joshi 12 years ago
parent
commit
d4fb8dd839
  1. 2
      etc/nginx/common/locations.conf

2
etc/nginx/common/locations.conf

@ -56,7 +56,7 @@ location ~ /\. {
log_not_found off;
}
location ~* ^.+.log {
location ~* ^.+.log$ {
deny all;
access_log off;
log_not_found off;

Loading…
Cancel
Save