spacewander commented on pull request #6600:
URL: https://github.com/apache/apisix/pull/6600#issuecomment-1068661619
@wilson-1024
You can apply:
```
diff --git t/node/upstream.t t/node/upstream.t
index feee95bd..12b7123d 100644
--- t/node/upstream.t
+++ t/node/upstream.t
@@ -565,10 +565,8 @@ passed
--- request
GET /uri
--- skip_nginx: 5: < 1.19.0
---- response_body
-uri: /uri
-host: localhost:1980
-x-real-ip: 127.0.0.1
+--- response_body eval
+qr/host: localhost:1980/
--- no_error_log
[error]
@@ -623,12 +621,9 @@ passed
=== TEST 24: hit route
+--- log_level: debug
--- request
GET /uri
--- skip_nginx: 5: < 1.19.0
---- response_body
-uri: /uri
-host: localhost:1980
-x-real-ip: 127.0.0.1
--- error_log
-proxy request to 127.0.0.1:1980
+Host: 127.0.0.1:1979
```
--
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]