1、在http定义区域加入: fastcgi_intercept_errors on;
2、在server 区域加入:error_page 500 404 403 /404.html;
或 error_page 500 502 503 504 404 403 ;
本文共 175 字,大约阅读时间需要 1 分钟。
1、在http定义区域加入: fastcgi_intercept_errors on;
转载于:https://blog.51cto.com/lihuipeng/833030