How to implement a configuration in which the Nginx server will issue an expired cache to the client until it receives a 200 response from the Backend server. That is, let's say Nginx cached the answer 200 and if the Backend server issues an error code (for example, 500), then it is necessary that the data from the obsolete cache be sent to the client. And to give this data until Backend answers 200 or 404.

0