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!
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel