I disagree: it is a good feature to check for script file existence before calling PHP on it with something like: try_files [...] =404; It helps mitigating attacks by avoiding to pave the way to undue files being interpreted.
That only works if the filesystem containing PHP scripts is accessible from nginx aswell, ofc. --- *B. R.* On Mon, Aug 1, 2016 at 1:50 AM, Maxim Dounin <mdou...@mdounin.ru> wrote: > Hello! > > On Mon, Aug 01, 2016 at 01:38:29AM +0200, Richard Stanway wrote: > > > Are you sure you don't want to use try_files for this? > > If a required handling is known in advance there is no need to use > try_files and waste resources on it. > > -- > Maxim Dounin > http://nginx.org/ > > _______________________________________________ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx