From 9b14a7212e6636392fbcf17733e24381a14a4a54 Mon Sep 17 00:00:00 2001 From: Magicalex Date: Mon, 5 Nov 2018 21:03:02 +0100 Subject: [PATCH] fix(nginx): errors pages --- rootfs/etc/nginx/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rootfs/etc/nginx/nginx.conf b/rootfs/etc/nginx/nginx.conf index 9e04589..3d01726 100644 --- a/rootfs/etc/nginx/nginx.conf +++ b/rootfs/etc/nginx/nginx.conf @@ -67,10 +67,10 @@ http { error_page 500 /500.html; error_page 503 /503.html; - location = /403.html { alias /flarum/app/vendor/flarum/core/error; } - location = /404.html { alias /flarum/app/vendor/flarum/core/error; } - location = /500.html { alias /flarum/app/vendor/flarum/core/error; } - location = /503.html { alias /flarum/app/vendor/flarum/core/error; } + location = /403.html { alias /flarum/app/vendor/flarum/core/error/403.html; } + location = /404.html { alias /flarum/app/vendor/flarum/core/error/404.html; } + location = /500.html { alias /flarum/app/vendor/flarum/core/error/500.html; } + location = /503.html { alias /flarum/app/vendor/flarum/core/error/503.html; } location / { try_files $uri $uri/ /index.php?$query_string; } location /api { try_files $uri $uri/ /api.php?$query_string; }