From e2e08155cbc4489f08254539629151a77875e053 Mon Sep 17 00:00:00 2001 From: Id2ndR Date: Wed, 18 Oct 2017 16:36:13 +0200 Subject: [PATCH] Remove error 500 custom page Flarum already handle 500 error and display it on the red box _Something went wrong_ --- rootfs/nginx/sites-enabled/flarum.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/rootfs/nginx/sites-enabled/flarum.conf b/rootfs/nginx/sites-enabled/flarum.conf index c3e07b1..0225309 100644 --- a/rootfs/nginx/sites-enabled/flarum.conf +++ b/rootfs/nginx/sites-enabled/flarum.conf @@ -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; }