Strip port in host header

you can use the field converter to match against the name/ip part of the host header.

acl foo hdr(host),field(1,:) -m end bar

if you have a lot of domains to match against you can store them in a file, one per line, and use

acl foo hdr(host),field(1,:) -m end -f /path/to/file

1 Like