URL Redirecting (301,302) in Varnish
There is no straight forward method for 301/302 URL redirection as we did with rewrite rule. But there are some situations where we need to redirect a URL on a host to some URL on different host. In this situation we need to use 301/302 redirection. There are two ways we can implement this.
First method is to use set req.http.host ...
0
Posted by Shahid