Hello,
I'm trying to forward the top level domain for my site 'ref.mydomain.com'
to the www version 'www.ref.mydomain.com'.
This is the logic I tried in my vcl_recv
if (req.http.host ~ "^ref\.mydomain\.com$") {
set req.http.host = "www.ref.mydomain.com";
}
And after cycling the varnish service, there's no joy! Putting
ref.mydomain.com doesn't forward to the other URL.
So maybe there's some problem with that statement that I'm missing?
I'd definitely appreciate any thoughts you might have.
Thanks!
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc