Welcome! Log In Create A New Profile

Advanced

Re: Nginx caching 500 Internal Server Error response

Francis Daly
June 28, 2021 02:12PM
On Thu, Jun 24, 2021 at 03:36:42PM -0400, TheMask wrote:

Hi there,

> From last 8-9months we are facing one issue in which nginx 500 response
> spike obseved. And we didnt see any call to upstream. It seems like Nginx
> caches the 500 response and that us served back to user.
> We have to restart the Nginx every time when issue occurred.

You appear to be reporting that your configuration is doing something
that the documentation suggests should not happen by default.

Can you share a configuration that shows the problem?

(And, just in case -- can you see that the response is an actual http
500, not a http 200 with an application-specific "this is a 500" in the
response body?)

Thanks,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx caching 500 Internal Server Error response

TheMask June 24, 2021 03:36PM

Re: Nginx caching 500 Internal Server Error response

TheMask June 26, 2021 08:26AM

Re: Nginx caching 500 Internal Server Error response

Francis Daly June 28, 2021 02:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 296
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