nginx 404页面提示
2018-08-17 本文已影响0人
花钱约下
在nginx.conf配置文件中
location ~.php {
//增加
fastcgi_intercept_errors on;
}
server中增加404地址如下:
error_page 404 = http://www.test.com/error.html;
在nginx.conf配置文件中
location ~.php {
//增加
fastcgi_intercept_errors on;
}
server中增加404地址如下:
error_page 404 = http://www.test.com/error.html;