The proxy_connect module rejects CONNECT commands with 400: Bad Request error
yurivict opened this issue · comments
yuri@FreeBSD commented
proxytunnel forwards the ssh connection through the https CONNECT request.
The request fails in nginx:
192.168.1.3 - - [05/May/2023:00:53:07 -0700] "CONNECT localhost:443 HTTP/1.1" 400 255 "-" "-"
What might be wrong?
proxy_connect rev.75febef
nginx-1.24.0
FreeBSD 13.2
yuri@FreeBSD commented
This was because CONNECT was sent to the https port.