Log failed try_files

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs