On upgrade, Discourse can return 500 errors too.

This commit is contained in:
Julien Palard 2022-11-09 00:25:41 +01:00
parent 7b8a4ba00a
commit eb4808516d
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@
location / {
error_page 502 =502 /errorpages/discourse_offline.html;
error_page 500 =500 /errorpages/discourse_offline.html;
proxy_intercept_errors on;
proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:;