access_log off

Jose Manuel Gonzalez Calvar listasjm at
Wed Sep 5 19:48:14 MSD 2007

The problem is the request. I mean.

I write this condition:

location ~* ^/home/.+\.(html|php) {
                root /var/www/html/;
                access_log off;
If the request is (for example)
it's successful and doesn't write the log.
But if the request is or

then it write's the log that's really the problem.

any ideas?

On 9/5/07, Roxis <roxis at> wrote:
> On Wednesday 05 September 2007, Jose Manuel Gonzalez Calvar wrote:
> > I don't know how can I avoid write logs for dynamic files.   :-(
> location ~ \.php$|\.htm$ {
>     access_log   off;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list