• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Trying to use ssl_fc_sni dynamically..

Scheduled Pinned Locked Moved Cache/Proxy
1 Posts 1 Posters 246 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    planetinse
    last edited by Nov 3, 2020, 3:33 PM

    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)

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received