diff --git a/conf/nginx-code-error.conf b/conf/nginx-code-error.conf index aa25131..5ded6cc 100644 --- a/conf/nginx-code-error.conf +++ b/conf/nginx-code-error.conf @@ -1,6 +1,6 @@ # Build error access -error_page 403 /error/403.html; -error_page 404 /error/404.html; +error_page 403 __PATH__/error/403.html; +error_page 404 __PATH__/error/404.html; location ^~ __PATH__/error/ { internal;