Nginx反向代理自定义404错误页面
http中添加proxy_intercept_errors on;server中添加error_page 404 = https://www.longda.cn/errorHtml/404.html;error_page 500 = https://www.longer.cn/errorHtml/500.html;
本文共 232 字,大约阅读时间需要 1 分钟。
http中添加proxy_intercept_errors on;server中添加error_page 404 = https://www.longda.cn/errorHtml/404.html;error_page 500 = https://www.longer.cn/errorHtml/500.html;
转载于:https://www.cnblogs.com/ipyanthony/p/9628318.html