-
Notifications
You must be signed in to change notification settings - Fork 513
Open
Description
I have a small setup of two servers, one with the HTTP Connect module and the target server. While testing I found out that the upstream's port doesn't seem to be respected. I got the following example log line:
connect_proxy-1 | 2025/04/17 12:52:49 [error] 7#7: *18 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: , request: "GET http://terminator:8446/special/stuff HTTP/1.1", upstream: "http://172.18.0.2:80/special/stuff", host: "terminator:8446"
connect_proxy-1 | 172.18.0.1 - - [17/Apr/2025:12:52:49 +0000] "GET http://terminator:8446/special/stuff HTTP/1.1" 502 314 "-" "curl/8.13.0" "-" "/special/stuff"
from the following curl
request:
curl -k --proxy-insecure http://terminator:8446/special/stuff -k -v -x https://127.0.0.1:8445
Am I missing an argument to set the proper upstream port?
Metadata
Metadata
Assignees
Labels
No labels