An "error" that maybe should be an "info" or "debug"

Albert Casademont Filella albertcasademont at
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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list