Add a friendly 502/503/504 page (nginx serves it directly, no backend needed)
deploy / deploy (push) Successful in 9s
deploy / deploy (push) Successful in 9s
This commit is contained in:
1 parent
7ea03e5bc5
commit
fc59cf595e
2 files changed
+29
No files matched your search
@@ -17,4 +17,10 @@ server {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
error_page 502 503 504 /502.html;
|
||||
location = /502.html {
|
||||
root /etc/nginx/error_pages;
|
||||
internal;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user