diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-08-12 07:35:15 -0700 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-08-12 07:35:15 -0700 |
commit | a4741bf0bac32d92bbe30d12a0f5353cbcfbe07a (patch) | |
tree | 3283a43ccf69284438c2ddcfb9b3bec4f6ebef8d /config/varnish64 | |
parent | 29154951c1361edd685deb43ed1eb0d6675d5cee (diff) | |
parent | 0a7c51dda7153103fb416ffa0161f1d1a232a0b9 (diff) | |
download | pfsense-packages-a4741bf0bac32d92bbe30d12a0f5353cbcfbe07a.tar.gz pfsense-packages-a4741bf0bac32d92bbe30d12a0f5353cbcfbe07a.tar.bz2 pfsense-packages-a4741bf0bac32d92bbe30d12a0f5353cbcfbe07a.zip |
Merge pull request #36 from marcelloc/patch-29
gui improvements and bug fixes
Diffstat (limited to 'config/varnish64')
-rw-r--r-- | config/varnish64/varnish_lb_directors.xml | 50 |
1 files changed, 45 insertions, 5 deletions
diff --git a/config/varnish64/varnish_lb_directors.xml b/config/varnish64/varnish_lb_directors.xml index dfcf7cd9..6f78e6e7 100644 --- a/config/varnish64/varnish_lb_directors.xml +++ b/config/varnish64/varnish_lb_directors.xml @@ -41,7 +41,7 @@ <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>varnishlbdirectors</name> - <version>0.0.2</version> + <version>0.0.4</version> <title>Varnish: Backends</title> <include_file>/usr/local/pkg/varnish.inc</include_file> <additional_files_needed> @@ -102,12 +102,21 @@ <fieldname>directorname</fieldname> </columnitem> <columnitem> - <fielddescr>URL</fielddescr> + <fielddescr>HOST</fielddescr> <fieldname>directorurl</fieldname> </columnitem> <columnitem> + <fielddescr>URL</fielddescr> + <fieldname>directorurl2</fieldname> + </columnitem> + + <columnitem> <fielddescr>Type</fielddescr> <fieldname>directortype</fieldname> + </columnitem> + <columnitem> + <fielddescr>Grace</fielddescr> + <fieldname>grace</fieldname> </columnitem> </adddeleteeditpagefields> <fields> @@ -118,21 +127,52 @@ <size>40</size> </field> <field> - <fielddescr>URL</fielddescr> + <fielddescr>Match type</fielddescr> + <fieldname>fieldtype</fieldname> + <description>Select the field type that you would like to use in matching the HOST/URL.</description> + <type>select</type> + <options> + <option> + <name>Equals</name> + <value>==</value> + </option> + <option> + <name>Regex</name> + <value>~</value> + </option> + </options> + </field> + <field> + <fielddescr>Host</fielddescr> <fieldname>directorurl</fieldname> + <description>Hint www.mysite.com</description> <type>input</type> <size>40</size> </field> <field> - <fielddescr>Type</fielddescr> + <fielddescr>URL</fielddescr> + <fieldname>directorurl2</fieldname> + <description>Hint /images</description> + <type>input</type> + <size>40</size> + </field> + <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> + <type>input</type> + <size>5</size> + </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> <type>select</type> <options> <option><name>Round-robin</name><value>round-robin</value></option> <option><name>Random</name><value>random</value></option> <option><name>Client</name><value>client</value></option> <option><name>Hash</name><value>hash</value></option> - </options> </field> <field> |