Trying to use ssl_fc_sni dynamically..
-
I'am trying to use subdomain and SNI to dynamically route to correct backend(s)
Scenario 12345.mydomain.com should route to
12345_mybackend (got 100'rds of these subdomains with matching backends)iam trying using a custom action
use_backend %[req.ssl_sni,lower,field(1,'.')]_mybackend_ipvANY
also tried
use_backend %[ssl_fc_sni,lower,field(1,'.')]_mybackend_ipvANY
but obvisoly I get it wrong :)
I need to use SNI, and it works if i do one 1:1 ACL vs. use backend actions. (i want to reduce admin and restarts of haproxy)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.