Browse Source

[Web] Changes to 502 status page

andryyy 6 years ago
parent
commit
7cf2c0ad69
1 changed files with 8 additions and 6 deletions
  1. 8 6
      data/web/_status.502.html

+ 8 - 6
data/web/_status.502.html

@@ -1,17 +1,19 @@
 <!DOCTYPE html>
 <html>
   <head>
-    <title>Missing upstream</title>
+    <title>Preparing</title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
   </head>
-  <body style='color:grey;text-align:center;font-family: Verdana, "Lucida Sans Unicode", sans-serif'>
-    <p>Oops, <b>502</b> - we are probably preparing mailcow.</p>
-    <h1 style="color:#999;font-size:48px">502</h1>
-    <p>Please do not stop the stack, while we are preparing the database or do other preparations.</p>
+  <body style='background-color:#fff;color:#333;text-align:center;font-family: Verdana, "Lucida Sans Unicode", sans-serif'>
+    <p>🐄 - we are on our way.</p>
+    <h1 style="color:#333;font-size:48px">502</h1>
+    <p>Please do not stop the stack, while we are initializing the database or do other preparations.</p>
     <p style="font-size:small"><b>What is happening?</b> - Nginx cannot connect to an upstream server.<br>
     This is fine, if mailcow was just
-    installed or updated and can take a few minutes.<br>
+    installed or updated and can take a few minutes to complete.<br>
     Please check the logs or contact support, if the error persists.</p>
+    <pre>docker-compose logs --tail=200 php-fpm-mailcow</pre>
+    <br><a style="color:#555;text-decoration:none;" href="https://mailcow.github.io/mailcow-dockerized-docs/#get-support" target="_blank">Need support?</a>
   </body>
 </html>