Remove error 500 custom page
Flarum already handle 500 error and display it on the red box _Something went wrong_pull/16/head
parent
0beb7667da
commit
e2e08155cb
|
@ -9,12 +9,10 @@ server {
|
|||
|
||||
error_page 403 /403.html;
|
||||
error_page 404 /404.html;
|
||||
error_page 500 /500.html;
|
||||
error_page 503 /503.html;
|
||||
|
||||
location = /403.html { root /flarum/app/vendor/flarum/core/error; }
|
||||
location = /404.html { root /flarum/app/vendor/flarum/core/error; }
|
||||
location = /500.html { root /flarum/app/vendor/flarum/core/error; }
|
||||
location = /503.html { root /flarum/app/vendor/flarum/core/error; }
|
||||
|
||||
location / { try_files $uri $uri/ /index.php?$query_string; }
|
||||
|
|
Loading…
Reference in New Issue