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

SSL passthrough with acl

$
0
0

@keevitaja wrote:

Hello!

Making my first steps with ha proxy. So please be kind to me :slight_smile:

How can i choose which backend to use for a ssl connection?

frontend http-in
        bind *:80 v4v6
        bind *:443 v4v6
        mode tcp

        acl test_site_eu req.ssl_sni -i test.site.eu
        use_backend ssl_server if test_site_eu

backend ssl_server
        mode tcp
        timeout server 30s
        server ssl_server_1 127.0.0.1:4443

This is not working, but if i remove if from the use_backend statement it kinda does.

http works fine with

acl apache_test_eu hdr(host) -i apache.test.eu

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4751

Trending Articles



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