diff --git a/setup/start/nginx/appconfig.ejs b/setup/start/nginx/appconfig.ejs index d66b5d844..3463c80bf 100644 --- a/setup/start/nginx/appconfig.ejs +++ b/setup/start/nginx/appconfig.ejs @@ -43,9 +43,10 @@ server { proxy_set_header Connection $connection_upgrade; # 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; + root <%= sourceDir %>/webadmin/dist; + error_page 502 503 504 /appstatus.html; + location /appstatus.html { + internal; } location / { diff --git a/webadmin/src/appstatus.html b/webadmin/src/appstatus.html index e0f26183d..81460cf02 100644 --- a/webadmin/src/appstatus.html +++ b/webadmin/src/appstatus.html @@ -6,40 +6,73 @@ Cloudron App Error - - - + + + + + + - +
- - -

Something has gone wrong

- This app is currently not running. Please retry later. - - +

+

Something has gone wrong

+ This app is currently not running. Try refreshing the page.
- + +