发布于2019年3月15日2019年3月15日 由txlNginx 增加错误页配置 在配置文件中增sever块里增加以下代码: error_page 404 403 500 503 503 504 /404.html; location = /404.html { root 路径; }