Ionel,
On 10/5/21 3:56 PM, Ionel GARDAIS wrote:
Currently, backend selection is made with
use_backend %[req.hdr(host),lower]
Would
use_backend %[ssl_fc_sni,lower] # Layer 5
or
use_backend %[req.ssl_sni,lower] # Layer 6
help with H2 ?
That would be a big fat NO.
SNI is ***never*** the correct solution to perform routing.
In fact it will make the situation even worse for you.
-------------
req.hdr(host) is the correct solution and I am surprised that it does
not work for you.
Consider adding 'capture request header Host len 50' to your frontend
and then share the log lines for affected requests. With the httplog
format they should then indicate both the host as seen by HAProxy as
well as the backed/server selected.
Best regards
Tim Düsterhus