Trying to match the following in haproxy:
acl instagiveweb hdr_beg(host) -i foo*.something.com
where the url could be foo-staging.something.com
or foo.something.com
I've looked through the docs at https://www.haproxy.com/doc/aloha/7.0/haproxy/acls.html#data-types-and-matching-between-samples-and-patterns but having a hard time finding the pattern matching that I need.
Any help appreciated!
acl instagiveweb hdr_beg(host) -i foo[^.]*.something.com
oracl instagiveweb hdr_beg(host) -i foo(-staging)?.something.com
– Mchugh