<div dir="ltr"><div>Hi all,<br><br></div><div>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.<br>
</div><div><br>server {<br> listen ***;<br> root ***;<br><br></div> {some other settings}<br><div><br> # protect original image files<br> location ~* "/[0-9]+\.(jpg|jpeg|tif|tiff|png|gif)$" {<br>
allow ***;<br> deny all;<br> }<br>}<br><br></div>However, an entry like this is logged in the error.log<br><div><div><br>2014/01/23 17:44:44 [error] 31071#0: *2701529 access forbidden by rule, client: ***, server: ***, request: "GET /29531.png HTTP/1.1", host: "***"<br>
<br></div><div>Is this really an nginx error? Couldn't this be lowered to an "info" or "debug" level message?<br><br></div><div>Thanks!<br></div></div></div>