in the examples for backend routing theres a specific example
use_backend bk_allow if { req.ssl_sni -f allowed_sites }
however when i place individual uri in a file allowed_sites one per line as suggested they all get ignored completely and routing goes to the default backend.
allowed_sites contents:
site1.example.com
site2.example.com
site1.otherexample.com
IF i instead specify the rule like this:
use_backend bk_allow if { req.ssl_sni site1.example.com site2.example.com site1.otherexample.com }
then everything works as expected.
i have a lsirt of about 40 sites id like to route to a single backend this way so was hoping to be able to use -f as per the example.
What am i missing?
1 post - 1 participant