有个软件要走http代理,想着部署nginx起来用,结果发现用不了;
而用ccproxy的话,一切正常;
抓包分析了下,是CONNECT模式的请求
从nginx的官网http://nginx.org/en/docs/http/websocket.html,我们知道
With forward proxying, clients may use the CONNECT
method to circumvent this issue.
网上搜罗了下,知道有这个牛人写的补丁,可以让nginx支持 CONNECT模式
https://github.com/chobits/ngx_http_proxy_connect_module#proxy_connect
mark下,以后备用;