Which 404 file does nginx calls?

agriz nginx-forum at nginx.us
Sun Oct 20 16:02:55 UTC 2013

Somewhere something happened.
I am not able to fix it.

error_page 404 404.html
During the test, i had this line in the site.conf file.

404.html had "File not found."

Later i created a proper error page and changed the commands like this.

error_page 404 404.php
But nginx is still throwing "File not found." but i have already deleted
that 404.html file from server

When i check for error log, I am getting "FastCGI sent in stderr: "Primary
script unknown" while reading response header from upstream"

How do i fix it?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243869,243869#msg-243869

More information about the nginx mailing list