log failed try_files

Nilshar nilshar at gmail.com
Wed Jan 30 16:50:51 UTC 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130130/d159684a/attachment-0001.html>


More information about the nginx mailing list