在Higress配置了个固定地址的路由,怎么走的是HTTP/1.0 协议? {"authority":"xxx:8072","bytes_received":"0","bytes_sent":"24","downstream_local_address":"xxx:80","downstream_remote_address":"xxx:49349","duration":"23","istio_policy_status":"-","method":"GET","path":"/proxy/sp-metrics-server/serverapi","protocol":"HTTP/1.0" ,"requested_server_name":"-","response_code":"200","response_flags":"-","route_name":"sp-metrics-proxy","start_time":"2024-07-19T08:15:14.000Z" ,"upstream_cluster":"outbound|80||eproxy.static","upstream_host":"xxx:8072","upstream_local_address":"xxx:44894","upstream_service_time":"20","upstream_transport_failure_reason":"-","user_agent":"Go-http-client/1.1","x_forwarded_for":"xxx"}
forwarded for走了反向代理的http/1.0,NG默认不配的话到upstream是1.0的。 此回答整理自钉群“Higress 社区交流1群(2群: 30735012403)”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。