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;