location and access_log off;

Igor Sysoev is at rambler-co.ru
Thu Aug 20 19:38:09 MSD 2009


On Thu, Aug 20, 2009 at 11:20:48AM -0400, vilts wrote:

> Hello,
> 
> I tried to turn off static file logging using this:
> 
>         location ~* .(css|js|gif|jpg|jpeg|ico)$ {
>             access_log off;
>         }
> 
> It turned the logging off, that part worked. But it also didn't serve any of these files anymore. Same effect was when I tried to redirect static file log to another file - again no images on web page.
> 
> I tried this with 0.7.61 and 0.8.9 versions.
> 
> What could be wrong?

What is in error_log ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list