1、在http段添加:fastcgi_intercept_errors on;
2、在server段添加:error_page 404 = /404.htm;
转载于:https://blog.51cto.com/linux10000/1949455
1、在http段添加:fastcgi_intercept_errors on;
2、在server段添加:error_page 404 = /404.htm;
转载于:https://blog.51cto.com/linux10000/1949455