404错误页面共1篇

NGINX下配置404错误页面的方法分享

1. 创建自己的404.html页面 2.更改nginx.conf在http定义区域加入: fastcgi_intercept_errors on; 3.更改nginx.conf(或单独网站配置文件,例如在nginx -> sites-enabled下的站点配置文件 )...
王麻子的头像-华尔子博王麻子33天前
04110