From c4cc60d93fa4c931d9b01ee35d72abc324f1d465 Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Fri, 18 Aug 2023 14:29:42 +0200 Subject: [PATCH] Update location path, fix about the sub-dir setting --- conf/nginx-code-error.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx-code-error.conf b/conf/nginx-code-error.conf index bebbabe..aa25131 100644 --- a/conf/nginx-code-error.conf +++ b/conf/nginx-code-error.conf @@ -2,6 +2,6 @@ error_page 403 /error/403.html; error_page 404 /error/404.html; -location ^~ /error/ { +location ^~ __PATH__/error/ { internal; }