Welcome! Log In Create A New Profile

Advanced

location and access_log off;

August 20, 2009 11:20AM
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?

Thanks!
Subject Author Posted

location and access_log off;

vilts August 20, 2009 11:20AM

Re: location and access_log off;

Igor Sysoev August 20, 2009 11:38AM

Re: location and access_log off;

vilts August 20, 2009 12:18PM

Re: location and access_log off;

Igor Sysoev August 20, 2009 01:27PM

Re: location and access_log off;

edogawaconan August 20, 2009 11:37PM

Re: location and access_log off;

vilts August 21, 2009 04:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
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