List for req.http.host

Tom Anheyer Tom.Anheyer at Berlinonline.de
Tue Feb 2 09:02:38 CET 2016


Hello,

a regular expression like req.http.host ~ "^(vhost1|vhost2|vhost3)$" can 
do that.

tom

Am 01.02.2016 um 19:51 schrieb Matt .:
> Is there an option to use a list for req.http.host ? now I'm using one
> line with || but this is getting a little bit long for 50 domains.
>
> Other possibilities are welcome too.
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4266 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160202/c483c1e6/attachment.bin>


More information about the varnish-misc mailing list