diff --git a/setup/start/nginx/appconfig.ejs b/setup/start/nginx/appconfig.ejs index fc2e1b258..9c8aa416d 100644 --- a/setup/start/nginx/appconfig.ejs +++ b/setup/start/nginx/appconfig.ejs @@ -37,7 +37,8 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; - error_page 500 502 503 504 @appstatus; + # only serve up the status page if we get proxy gateway errors + error_page 502 503 504 @appstatus; location @appstatus { return 307 <%= adminOrigin %>/appstatus.html?referrer=https://$host$request_uri; }