aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjgel <marcioc.antao@gmail.com>2012-06-26 15:36:19 -0300
committerdjgel <marcioc.antao@gmail.com>2012-06-26 15:36:19 -0300
commit9b20c9278aaf5426e3a0f8a53790954cc4c00bd3 (patch)
tree292fa7bcc78fae7e275761eb2238b695e60177b1
parent6f442f7d8a0aebad32178b77e18ea2385d12f157 (diff)
downloadpfsense-packages-9b20c9278aaf5426e3a0f8a53790954cc4c00bd3.tar.gz
pfsense-packages-9b20c9278aaf5426e3a0f8a53790954cc4c00bd3.tar.bz2
pfsense-packages-9b20c9278aaf5426e3a0f8a53790954cc4c00bd3.zip
Rewrite Host and URL do Backends
-rw-r--r--config/varnish3/varnish_lb_directors.xml22
1 files changed, 22 insertions, 0 deletions
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 @@
<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>
@@ -168,6 +176,20 @@
<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>