How to find out why Nginx return 400 while use it as http/2 load balancer?
问题 I'm implementing a http/2 proxy myself, and I'm using Nginx as load balancer. When I use Nginx as h2c load balancer, it works: server { listen 8443 http2; location / { error_log /Users/jiajun/nginx_error_log.log debug; grpc_pass grpc://127.0.0.1:2017; } } Run it: $ go run example/grpc_client/main.go calling to 127.0.0.1:2019 2019/01/28 11:50:46 gonna call c.SayHello... 2019/01/28 11:50:46 Greeting: Hello world And Nginx access log is: 127.0.0.1 - - [28/Jan/2019:11:50:46 +0800] "POST