proxy_intercept_errors on;
error_page 504 = @500;
location @500 {
default_type application/json;
return 500 '{"code": -1,"message":"Failed to connect remote error"}';
}
原文链接:https://www.f2er.com/json/413872.htmlproxy_intercept_errors on;
error_page 504 = @500;
location @500 {
default_type application/json;
return 500 '{"code": -1,"message":"Failed to connect remote error"}';
}
原文链接:https://www.f2er.com/json/413872.html