@julietv9 wrote:
I’m trying to configure a vanilla proxy which basically passed through a HTTPS connection to the server using HTTP CONNECT.
My haproxy config is as follows:
frontend main-http
bind *:80
mode http
option http-server-close
option forwardfor
acl url_whitelist url_dom -f /etc/haproxy/URL_Whitelist.txt
http-request deny if !url_whitelist
default_backend app-main-httpfrontend main-https
bind *:443
mode tcp
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }
default_backend app-main-httpsbackend app-main-http
mode httpbackend app-main-https
mode tcpThe proxy works perfectly for HTTP. However, for HTTPS requests it gives me the “curl: (56) Proxy CONNECT aborted” when using CURL to test.
Does anyone know what I’m missing?
Thanks!
Posts: 4
Participants: 2