From ea8278b48bdbdd8d75b5cafb8f03a604c7169580 Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Thu, 17 Aug 2023 18:19:59 +0200 Subject: [PATCH] Add the 403 error code build --- conf/nginx-code-error.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/nginx-code-error.conf b/conf/nginx-code-error.conf index dba1050..bb32b79 100644 --- a/conf/nginx-code-error.conf +++ b/conf/nginx-code-error.conf @@ -1,4 +1,9 @@ # Build error access +error_page 403 /error/403.html; +location = __PATH__/error/403.html { + internal; +} + error_page 404 /error/404.html; location = __PATH__/error/404.html { internal;