开发者社区 > 云原生 > 微服务 > 正文

在Higress配置了个固定地址的路由,怎么走的是HTTP/1.0 协议?

在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"}

展开
收起
三分钟热度的鱼 2024-07-24 20:28:10 23 0
1 条回答
写回答
取消 提交回答
  • forwarded for走了反向代理的http/1.0,NG默认不配的话到upstream是1.0的。 此回答整理自钉群“Higress 社区交流1群(2群: 30735012403)”

    2024-07-24 22:07:15
    赞同 6 展开评论 打赏

为微服务建设降本增效,为微服务落地保驾护航。

相关电子书

更多
阿里巴巴HTTP 2.0实践及无线通信协议的演进之路 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载