I should also add that currently this works really well for every distinct
$request_url by:
location / {
…
error_page 500 502 503 504 /maintenance.html;
…
proxy_cache_valid 500 502 503 504 3m;
}
location = /maintenance.html {
root /etc/nginx/static;
}
__
Hello,
I’d like to configure nginx to put up a standard maintenance page depending on
the status code received from the upstream (currently for 502, 503 and 504,
cached for 3 minutes).
This works pretty simple and well, but I would like to ensure the maintenance
page is being served directly o