Wildcard in subdomain for ACL in HAPROXY
<p>Trying to match the following in haproxy:</p>

<p><code>acl instagiveweb hdr_beg(host) -i foo*.something.com</code></p>

<p>where the url could be <code>foo-staging.something.com</code> or <code>foo.something.com</code></p>

<p>I've looked through the docs at <a href="https://www.haproxy.com/doc/aloha/7.0/haproxy/acls.html#data-types-and-matching-between-samples-and-patterns" rel="noreferrer">https://www.haproxy.com/doc/aloha/7.0/haproxy/acls.html#data-types-and-matching-between-samples-and-patterns</a> but having a hard time finding the pattern matching that I need.</p>

<p>Any help appreciated!</p>