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

Haproxy as reverse HTTPS proxy

$
0
0

@ttertery wrote:

Hello Experts,

I want to configure Haproxy to encapsulate incoming HTTP traffic into HTTPS having an HTTPS backend.
My config looks like this:

frontend http-in-proxy
bind *:80
acl valid_url hdr_end(host) -i mydomain.com
use_backend servers-proxy if valid_url
default_backend forbidden

backend forbidden
mode http
http-request deny deny_status 403

backend servers-proxy
server server1-proxy 10.1.31.15:443 ssl verify none

This works, but I’m not sure if haproxy validates the server certificates when making connection (when it acts as HTTPS Client).

Is there a way to validate the server certs here?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4731

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>