aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-08-17 15:05:13 -0700
committerScott Ullrich <sullrich@gmail.com>2011-08-17 15:05:13 -0700
commitc34c4180e97a84e7656c0e6be8863eeffa6f860c (patch)
tree6233f64f19609a1792888bf43673d4577d60802b /config
parent757f871f240966b69f87b85756e706b70641e353 (diff)
parente843b479fc8b27f98462fd90aa66bfb6b4a72b5d (diff)
downloadpfsense-packages-c34c4180e97a84e7656c0e6be8863eeffa6f860c.tar.gz
pfsense-packages-c34c4180e97a84e7656c0e6be8863eeffa6f860c.tar.bz2
pfsense-packages-c34c4180e97a84e7656c0e6be8863eeffa6f860c.zip
Merge pull request #41 from marcelloc/patch-35
Include failover and nocache feature on varnish
Diffstat (limited to 'config')
-rw-r--r--config/varnish64/varnish_lb_directors.xml37
1 files changed, 35 insertions, 2 deletions
diff --git a/config/varnish64/varnish_lb_directors.xml b/config/varnish64/varnish_lb_directors.xml
index 6f78e6e7..8f9994a7 100644
--- a/config/varnish64/varnish_lb_directors.xml
+++ b/config/varnish64/varnish_lb_directors.xml
@@ -9,6 +9,8 @@
varnish_lb_directors.xml
part of pfSense (http://www.pfSense.com)
Copyright (C) 2010 Scott Ullrich <sullrich@gmail.com>
+ Copyright (C) 2011 Marcello Coutinho
+
All rights reserved.
*/
/* ========================================================================== */
@@ -41,7 +43,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>varnishlbdirectors</name>
- <version>0.0.4</version>
+ <version>0.0.5</version>
<title>Varnish: Backends</title>
<include_file>/usr/local/pkg/varnish.inc</include_file>
<additional_files_needed>
@@ -117,10 +119,20 @@
<columnitem>
<fielddescr>Grace</fielddescr>
<fieldname>grace</fieldname>
+ </columnitem>
+ <columnitem>
+ <fielddescr>Failover</fielddescr>
+ <fieldname>failover</fieldname>
</columnitem>
</adddeleteeditpagefields>
<fields>
<field>
+ <fielddescr>DirectorSettings</fielddescr>
+ <fieldname>Director Settings</fieldname>
+ <type>listtopic</type>
+ <name>Director settings</name>
+ </field>
+ <field>
<fielddescr>Director name</fielddescr>
<fieldname>directorname</fieldname>
<type>input</type>
@@ -159,11 +171,17 @@
<field>
<fielddescr>Req Grace</fielddescr>
<fieldname>grace</fieldname>
- <description><![CDATA[<a href="https://www.varnish-cache.org/trac/wiki/VCLExampleGrace">How many time varnish will keep cached objects for this director.</a> HINT 60s, 30m, 1h]]></description>
+ <description><![CDATA[<a href="https://www.varnish-cache.org/trac/wiki/VCLExampleGrace">How many time varnish will keep cached objects for this director.</a> HINT 60s, 30m, 1h<br>Use 0s grace time to force no cache.]]></description>
<type>input</type>
<size>5</size>
</field>
<field>
+ <fielddescr>Backendlist</fielddescr>
+ <fieldname>Backendlist</fieldname>
+ <type>listtopic</type>
+ <name>Backend Settings</name>
+ </field>
+ <field>
<fielddescr>Algorithms</fielddescr>
<fieldname>directortype</fieldname>
<description><![CDATA[<a href="https://www.varnish-cache.org/docs/2.1/reference/vcl.html#the-client-director">Choose how varnish will balance clientes.</a>]]></description>
@@ -197,6 +215,21 @@
</rowhelperfield>
</rowhelper>
</field>
+ <field>
+ <fielddescr>FailoverSettings</fielddescr>
+ <fieldname>FailoverSettings</fieldname>
+ <type>listtopic</type>
+ <name>Failover Settings</name>
+ </field>
+ <field>
+ <fielddescr>Failover Director</fielddescr>
+ <fieldname>failover</fieldname>
+ <description>Select a Director for failover or choose same director to do not configure it.</description>
+ <source><![CDATA[$config['installedpackages']['varnishlbdirectors']['config']]]></source>
+ <source_name>directorname</source_name>
+ <source_value>directorname</source_value>
+ <type>select_source</type>
+ </field>
</fields>
<custom_php_command_before_form>
</custom_php_command_before_form>