fastcgi_pass / error page /error code in HTTP rsp

nginxuser100 nginx-forum at nginx.us
Tue Jun 9 00:13:03 UTC 2015


Hi, I expected fastcgi_intercept_errors to return a static error page AND to
have include the HTTP error code (e.g. 400) in the HTTP response header.
>From what I see, it returns the static error page but with 200 OK.
Is it the expected behavior?
If yes, is there a way to have nginx return the error page and the error
code to the client?
Thank you!

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



More information about the nginx mailing list