I have a server with a bunch of services that I am currently reverse proxying.
service_a: Default backend that serves an HTML landingpage.
service_b: Has lots of paths that it relies on.
service_c: Has all services sitting in just one single path.
service_d: Has all services sitting in just one single path.
As you can see I need a wildcard path condition for service_b. The corresponding rule then would need to be processed after all other “service_*_rules”, which is easily configurable in HAProxy for OPNsense.
Is it somehow possible to match traffic using wildcards in the path condition?
if host_matches == "subdir.mydomain.net" and path_starts_with == "/*" then use_backend == service_b