chobits / ngx_http_proxy_connect_module

A forward proxy module for CONNECT request handling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The proxy_connect module rejects CONNECT commands with 400: Bad Request error

yurivict opened this issue · comments

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

This was because CONNECT was sent to the https port.