displaying standard 404 page, if php file is not found

Piotr Sikora piotr.sikora at frickle.com
Wed Jul 29 20:17:05 MSD 2009


>         try_files  $uri  @404;

Try using "error_page" instead of "try_files".

AFAIK "try_files" is supposed to work static files, not FastCGI / proxy.

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >






More information about the nginx mailing list