aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2012-06-26 11:38:33 -0700
committerScott Ullrich <sullrich@gmail.com>2012-06-26 11:38:33 -0700
commitafa00d51a7c7dad87ea28a3f9f6186b69bd6c47d (patch)
tree292fa7bcc78fae7e275761eb2238b695e60177b1
parent6f442f7d8a0aebad32178b77e18ea2385d12f157 (diff)
parent9b20c9278aaf5426e3a0f8a53790954cc4c00bd3 (diff)
downloadpfsense-packages-afa00d51a7c7dad87ea28a3f9f6186b69bd6c47d.tar.gz
pfsense-packages-afa00d51a7c7dad87ea28a3f9f6186b69bd6c47d.tar.bz2
pfsense-packages-afa00d51a7c7dad87ea28a3f9f6186b69bd6c47d.zip
Merge pull request #266 from djgel/patch-4
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>