From 5f1dfbd192c9fac1d066817ad732c3605be25b2e Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Thu, 17 Aug 2023 18:22:53 +0200 Subject: [PATCH] Wrong path construction with the nginx error code --- 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 bb32b79..4b71cff 100644 --- a/conf/nginx-code-error.conf +++ b/conf/nginx-code-error.conf @@ -1,10 +1,10 @@ # Build error access error_page 403 /error/403.html; -location = __PATH__/error/403.html { +location = /error/403.html { internal; } error_page 404 /error/404.html; -location = __PATH__/error/404.html { +location = /error/404.html { internal; } \ No newline at end of file