From 4d49f2622b3ff737abbb5557dc7327acb37a90ce Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 16 Nov 2017 18:55:48 +0100 Subject: Error page for HTTP status code 502 has been added. --- customization/errorpage/502.shtml | 7 +++++++ snippets/errorpage.conf | 1 + 2 files changed, 8 insertions(+) create mode 100644 customization/errorpage/502.shtml diff --git a/customization/errorpage/502.shtml b/customization/errorpage/502.shtml new file mode 100644 index 0000000..6629e18 --- /dev/null +++ b/customization/errorpage/502.shtml @@ -0,0 +1,7 @@ + + + + +

The server was acting as a gateway or proxy and received an invalid response from the upstream server (or + the upstream server is currently unavailable due to maintenance downtime or capacity problems).

+ \ No newline at end of file diff --git a/snippets/errorpage.conf b/snippets/errorpage.conf index 16ce288..d631317 100644 --- a/snippets/errorpage.conf +++ b/snippets/errorpage.conf @@ -14,6 +14,7 @@ error_page 415 /errorpage/415.shtml; error_page 429 /errorpage/429.shtml; error_page 500 /errorpage/500.shtml; error_page 501 /errorpage/501.shtml; +error_page 502 /errorpage/502.shtml; error_page 503 /errorpage/503.shtml; error_page 504 /errorpage/504.shtml; -- cgit v1.2.3