Not existant files passed to php backend

Reinis Rozitis r at roze.lv
Wed Aug 20 21:52:49 MSD 2008


 > Yup just place it in your php location block.
> location ~ .*\.php$ {
>     if (!-f $request_filename) {
>          return 404;
>     }
>     fastcgi_pass 127.0.0.1:10000;
>     fastcgi_index index.php;
> }
> this is how i have been handling this without issues for sometime.


Thx.. Works as expected.

rr






More information about the nginx mailing list