From 467aef4618d35cc6a860518d3a7b52666bbff7ba Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Fri, 18 Aug 2023 16:32:42 +0200 Subject: [PATCH] Update location path, fix about the sub-dir setting ; and change url --- conf/nginx-code-error.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx-code-error.conf b/conf/nginx-code-error.conf index aa25131..5ded6cc 100644 --- a/conf/nginx-code-error.conf +++ b/conf/nginx-code-error.conf @@ -1,6 +1,6 @@ # Build error access -error_page 403 /error/403.html; -error_page 404 /error/404.html; +error_page 403 __PATH__/error/403.html; +error_page 404 __PATH__/error/404.html; location ^~ __PATH__/error/ { internal;