wilson-1024 commented on pull request #6600: URL: https://github.com/apache/apisix/pull/6600#issuecomment-1068754992
@spacewander Thank you for your careful instruction. When i enable the nginx debugging option,the local test succeeds. ``` FLUSH_ETCD=1 prove -I. -I../test-nginx/ -I../test-nginx/lib -r t/node/upstream.t t/node/upstream.t .. ok All tests successful. Files=1, Tests=71, 17 wallclock secs ( 0.03 usr 0.01 sys + 2.16 cusr 1.22 csys = 3.42 CPU) Result: PASS ``` log file ``` [debug] 7218#2263361: *23 http proxy header: "GET /uri HTTP/1.1 Host: 127.0.0.1:1979 X-Real-IP: 127.0.0.1 X-Forwarded-For: 127.0.0.1 X-Forwarded-Proto: http X-Forwarded-Host: localhost X-Forwarded-Port: 1984 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
