June 08, 2015 08:13PM
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!
Subject Author Posted

fastcgi_pass / error page /error code in HTTP rsp

nginxuser100 June 08, 2015 03:14PM

Re: fastcgi_pass / error page /error code in HTTP rsp

Maxim Dounin June 08, 2015 03:26PM

Re: fastcgi_pass / error page /error code in HTTP rsp

nginxuser100 June 08, 2015 05:52PM

Re: fastcgi_pass / error page /error code in HTTP rsp

nginxuser100 June 08, 2015 08:13PM

Re: fastcgi_pass / error page /error code in HTTP rsp

nginxuser100 June 09, 2015 12:29AM

Re: fastcgi_pass / error page /error code in HTTP rsp

Francis Daly June 09, 2015 03:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready