From e7842a2a49b379d0506c3396e1d936a153f055b3 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 1 Feb 2016 15:07:50 +0200 Subject: [PATCH] Add 502 page --- conf/server-base.conf | 2 ++ static/502.html | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 static/502.html diff --git a/conf/server-base.conf b/conf/server-base.conf index c502c862a..df1fed771 100644 --- a/conf/server-base.conf +++ b/conf/server-base.conf @@ -116,6 +116,8 @@ location /static/ { error_page 404 /404; } +error_page 502 /static/502.html; + location ~ ^/b1/controller(/?)(.*) { proxy_pass http://build_manager_controller_server/$2; } diff --git a/static/502.html b/static/502.html new file mode 100644 index 000000000..ab9680ed4 --- /dev/null +++ b/static/502.html @@ -0,0 +1,27 @@ + + + Quay Loading + + + + + + +
+ +

Quay is currently loading

+

+

Please wait and refresh the page shortly to try again.

+

+
+ +