if (req.http.host == ('^(cdn)\..+\.+')
  {
      set req.backened = cdnserver
  }


Something like that will work


On Mon, Aug 6, 2012 at 6:53 PM, Zeeshan Ali Shah <[email protected]>wrote:

> Hi, sorry it is more related with regex .. any hint ?
>
> I want all domain starting from cdn  to use certain backend. no matter
> what the tld is for example all :
>
> cdn.xy.asda.com
> cdn.sda.com
> cdn.cdad.asda.ada.ad.net
>
>
> what is the suitable regex for above?
>
>
> thanks in advance
> BR
>
>
> Zeeshan
>
>
>
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to