Forum: NGINX log failed try_files

Posted by Nilshar (Guest)
on 2013-01-30 17:51
(Received via mailing list)
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.