原因是nginx转发时使用了HTTP1.0
location ^~ /api/config/ {
proxy_http_version 1.1;
proxy_set_header Connection “”;
proxy_set_header Host sqkb-member-v2.sqkb-istio-qa.svc.cluster.local;
proxy_pass http://sqkb-member-v2.sqkb-istio-qa.svc.cluster.local/;
}
添加加粗的地方