An "error" that maybe should be an "info" or "debug"
Albert Casademont Filella
albertcasademont at gmail.com
Thu Jan 23 17:22:40 UTC 2014
Hi all,
We have a media server and we protect certain files from being accessed by
external ips, we just allow access from our static ip. Everything works ok
and a 403 is thrown to those who try to access the files.
server {
listen ***;
root ***;
{some other settings}
# protect original image files
location ~* "/[0-9]+\.(jpg|jpeg|tif|tiff|png|gif)$" {
allow ***;
deny all;
}
}
However, an entry like this is logged in the error.log
2014/01/23 17:44:44 [error] 31071#0: *2701529 access forbidden by rule,
client: ***, server: ***, request: "GET /29531.png HTTP/1.1", host: "***"
Is this really an nginx error? Couldn't this be lowered to an "info" or
"debug" level message?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20140123/fe03f826/attachment.html>
More information about the nginx-devel
mailing list