ngx_http_proxy_connect_module
ngx_http_proxy_connect_module copied to clipboard
I also have the same problem.
> I have the same problem
无法启用 ssl
....
问题
当我关闭ssl 时(配置文件第一行删除ssl参数)代理工作正常 当我启用ssl时(如上配置)出现以上的测试问题 我看您这边配置成功了,是可以支持 客户端 ->
HTTPS-> 代理服务 ->HTTP/HTTPS-> 目标服务器 , 但是我不知道问题出在哪里,能否给出一些意见。谢谢I have the same problem too. "client sent plain HTTP request to HTTPS port while reading client request headers,"
hi, your configuration is right, but ur constructed curl command is not right, see my latest documentation here: https://github.com/chobits/ngx_http_proxy_connect_module#example-for-curl-connect-request-in-https

$ curl https://nginx.org/ -sv -o/dev/null -x https://<your-nginx-ip>:<your-nginx-port> --proxy-insecure
Originally posted by @chobits in https://github.com/chobits/ngx_http_proxy_connect_module/issues/22#issuecomment-1455553322
Bellow is my nginx`config,
and I let 'biienu.crt' file work as a trusted certificate in "/etc/pki/ca-trust/source/anchors" directory.
When I was testing, I encountered the following problem:
can you help me to solve it?
Curl error reports showed that it has no --proxy-insecure command. I think you should try to resolve it from this point, which is beyond me
I encountered the following problem when useing the '-k' parameter instead of the '--proxy-insecure' parameter. so what is the reason for this?
I encountered the following problem when useing the '-k' parameter instead of the '--proxy-insecure' parameter. so what is the reason for this?
@chobits
the user has closed its account, we may not contact him again
