Merge pull request #3602 from alexymik/master

Create a 502 error page to automatically refresh if backend status changes
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2019-07-01 17:21:56 -04:00
commit f3e191988d
2 files changed
+68 -1

No files matched your search

@@ -105,11 +105,17 @@ server {
internal;
}
error_page 500 501 502 503 504 505 506 507 508 509 510 511 /500-error.html;
error_page 500 501 503 504 505 506 507 508 509 510 511 /500-error.html;
location /500-error.html {
root {{ $.DOKKU_LIB_ROOT }}/data/nginx-vhosts/dokku-errors;
internal;
}
error_page 502 /502-error.html;
location /502-error.html {
root {{ $.DOKKU_LIB_ROOT }}/data/nginx-vhosts/dokku-errors;
internal;
}
}
{{ end }}{{ end }}