From 9b20c9278aaf5426e3a0f8a53790954cc4c00bd3 Mon Sep 17 00:00:00 2001 From: djgel Date: Tue, 26 Jun 2012 15:36:19 -0300 Subject: Rewrite Host and URL do Backends --- config/varnish3/varnish_lb_directors.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'config/varnish3') diff --git a/config/varnish3/varnish_lb_directors.xml b/config/varnish3/varnish_lb_directors.xml index 994320f3..345dae51 100644 --- a/config/varnish3/varnish_lb_directors.xml +++ b/config/varnish3/varnish_lb_directors.xml @@ -111,6 +111,14 @@ URL directorurl2 + + Rewrite Host + rewritehost + + + Rewrite url + rewriteurl + Type @@ -168,6 +176,20 @@ input 40 + + Rewrite Host + rewritehost + Hint image.mysite.com + input + 40 + + + Rewrite URL + rewriteurl + Hint /images + input + 40 + Req Grace grace -- cgit v1.2.3