大飞_dafei

导航

2018年3月23日 #

nginx 设置 404 500 页面跳转到指定页面

摘要: nginx 设置 404 500 页面跳转到指定页 默认情况下 nginx 是不支持自定义 500 、400 页面; 修改配置文件 conf/nginx.conf 添加页面重定向,在 http 内添加一行; fastcgi_intercept_errors on; 在 service 内添加一行指定 阅读全文

posted @ 2018-03-23 16:15 大飞_dafei 阅读(1590) 评论(0) 推荐(0) 编辑