Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4720

Proxy CONNECT aborted error during SSL Pass-through

$
0
0

@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-http

frontend 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-https

backend app-main-http
mode http

backend app-main-https
mode tcp

The 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

Read full topic


Viewing all articles
Browse latest Browse all 4720

Trending Articles