nginx自定义500、404错误页面,1,首先在http添加以下内容http{fastcgi_intercept_errorson;}2,server中添加以下内容:注意路径error_page500502503504 =/500.html;location/500.html{internal;}error_page404 /404.html;location/404.html{inte