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

Match against req.ssl_sni AND dst_port

$
0
0

use_backend _recir_test if { req.ssl_sni -i test.example.com } { dst_port 443 }
use_backend _recir_test1 if { req.ssl_sni -i test.example.com } { dst_port 8443 }

Why is this not working? It looks like the AND condition on the port is matched against something that does not exist, and I am redirected to some later configured 443 backend.
If I remove the { dst_port 443 }, I am getting the correct backend, but of course never the test1

It has been asked before, but not really answered.

2.2.25-50b5f5d

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4736

Trending Articles



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