aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjgel <marcioc.antao@gmail.com>2012-06-26 15:38:16 -0300
committerdjgel <marcioc.antao@gmail.com>2012-06-26 15:38:16 -0300
commit60422ed720f3596d6ae83170c9b0d2b219a70a26 (patch)
tree73783a4e14c5e2a93b56a90a1f1179447347e154
parent6f442f7d8a0aebad32178b77e18ea2385d12f157 (diff)
downloadpfsense-packages-60422ed720f3596d6ae83170c9b0d2b219a70a26.tar.gz
pfsense-packages-60422ed720f3596d6ae83170c9b0d2b219a70a26.tar.bz2
pfsense-packages-60422ed720f3596d6ae83170c9b0d2b219a70a26.zip
Rewrite Host and URL to Backends
-rw-r--r--config/varnish64/varnish_lb_directors.xml24
1 files changed, 23 insertions, 1 deletions
diff --git a/config/varnish64/varnish_lb_directors.xml b/config/varnish64/varnish_lb_directors.xml
index 994320f3..4c46414e 100644
--- a/config/varnish64/varnish_lb_directors.xml
+++ b/config/varnish64/varnish_lb_directors.xml
@@ -111,7 +111,14 @@
<fielddescr>URL</fielddescr>
<fieldname>directorurl2</fieldname>
</columnitem>
-
+ <columnitem>
+ <fielddescr>Rewrite Host</fielddescr>
+ <fieldname>rewritehost</fieldname>
+ </columnitem>
+ <columnitem>
+ <fielddescr>Rewrite url</fielddescr>
+ <fieldname>rewriteurl</fieldname>
+ </columnitem>
<columnitem>
<fielddescr>Type</fielddescr>
<fieldname>directortype</fieldname>
@@ -168,6 +175,21 @@
<type>input</type>
<size>40</size>
</field>
+ <field>
+ <fielddescr>Rewrite Host</fielddescr>
+ <fieldname>rewritehost</fieldname>
+ <description>Hint image.mysite.com</description>
+ <type>input</type>
+ <size>40</size>
+ </field>
+ <field>
+ <fielddescr>Rewrite URL</fielddescr>
+ <fieldname>rewriteurl</fieldname>
+ <description>Hint /images</description>
+ <type>input</type>
+ <size>40</size>
+ </field>
+
<field>
<fielddescr>Req Grace</fielddescr>
<fieldname>grace</fieldname>