From b578765b41ffd4c89113432d726b1fe97c6c24a8 Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Fri, 18 Aug 2023 09:55:41 +0200 Subject: [PATCH] Fix location path error config --- 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 074b013..dad5740 100644 --- a/conf/nginx-code-error.conf +++ b/conf/nginx-code-error.conf @@ -2,7 +2,7 @@ error_page 403 /error/403.html; error_page 404 /error/404.html; -location ^/ /error/ { +location ^~ /error/ { internal; root /var/www/my_webapp__3/www/; }