Welcome! Log In Create A New Profile

Advanced

log failed try_files

Nilshar
January 30, 2013 11:52AM
Hello list,

I got this setting :

location ~ ^(/.*)/(.*)$ {
root /some/path/;
try_files $1/$2 $1/../$2 =404;
}

it works perfectly, but I would like to log when $1/$2 does not exist, is
it possible ?

Thanks
Nilshar.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

log failed try_files

Nilshar January 30, 2013 11:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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