Welcome! Log In Create A New Profile

Advanced

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

Albert Casademont Filella
January 23, 2014 12:24PM
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
Subject Author Views Posted

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

Albert Casademont Filella 796 January 23, 2014 12:24PM

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

Maxim Dounin 340 January 24, 2014 10:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready