aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-07-28 07:05:41 -0700
committerChris Buechler <cmb@pfsense.org>2011-07-28 07:05:41 -0700
commitcd211d611ca4b903038ad6fd96b89e04d9a49866 (patch)
tree0745d596ebd3f0973ace71f47ef5c0a9510879fd /config
parent71f3419566bdbeddf1924cba90dd8d95b3ba07a7 (diff)
parent1ff87b016987acf8ee35ba77db65f53efd585788 (diff)
downloadpfsense-packages-cd211d611ca4b903038ad6fd96b89e04d9a49866.tar.gz
pfsense-packages-cd211d611ca4b903038ad6fd96b89e04d9a49866.tar.bz2
pfsense-packages-cd211d611ca4b903038ad6fd96b89e04d9a49866.zip
Merge pull request #11 from marcelloc/patch-6
including know basic good options to improve setup
Diffstat (limited to 'config')
-rw-r--r--config/varnish64/varnish_settings.xml70
1 files changed, 70 insertions, 0 deletions
diff --git a/config/varnish64/varnish_settings.xml b/config/varnish64/varnish_settings.xml
index f97e3a3e..eb39076a 100644
--- a/config/varnish64/varnish_settings.xml
+++ b/config/varnish64/varnish_settings.xml
@@ -135,6 +135,76 @@
<description>Enter the timeout time for the worker threads.</description>
<type>input</type>
</field>
+ <field>
+ <fielddescr>BasicVCLLT</fielddescr>
+ <fieldname>BasicVCLLT</fieldname>
+ <type>listtopic</type>
+ <name>Basic VCL Settings</name>
+ </field>
+ <field>
+ <fielddescr>Client identity method</fielddescr>
+ <fieldname>clientbalance</fieldname>
+ <description>Select how varnish will balance clients when using client Load Balance method.</description>
+ <type>select</type>
+ <options>
+ <option><name>IP address (keep sessions working)</name><value>ip</value></option>
+ <option><name>Requested url</name><value>url</value></option>
+ <option><name>User Agent</name><value>agent</value></option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Don't cache sessions</fielddescr>
+ <fieldname>sessioncache</fieldname>
+ <description>Don't cache pages wiht JSESSION,PHPSESSID or nocache headers/cookies</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Don't cache posts</fielddescr>
+ <fieldname>postcache</fieldname>
+ <description>Don't cache posts</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Cache Images and css</fielddescr>
+ <fieldname>imagecache</fieldname>
+ <description>cache .css .js .gif .jpg .jpeg .bmp .png .ico .img .tga and .wmf files</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Fix gzip compression</fielddescr>
+ <fieldname>fixgzip</fieldname>
+ <description>Ignore compression in images files and unknow compression algorithm</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Be RFC2616 compliant</fielddescr>
+ <fieldname>rfc2616</fieldname>
+ <description>Ignore request different form GET HEAD PUT POST TRACE OPTIONS DELETE</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Foward client IP</fielddescr>
+ <fieldname>xforward</fieldname>
+ <description>Select how to forward clients real IP.</description>
+ <type>select</type>
+ <options>
+ <option><name>set X-Forwarded-For</name><value>set</value></option>
+ <option><name>append X-Forwarded-For</name><value>append</value></option>
+ <option><name>set X-Forwarded-Varnish</name><value>create</value></option>
+ <option><name>Unset</name><value>unset</value></option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Custom Html error message</fielddescr>
+ <fieldname>htmlerror</fieldname>
+ <description>Paste your custom html error page code here. This code will be included</description>
+ <type>textarea</type>
+ <cols>70</cols>
+ <rows>10</rows>
+ </field>
+
+
+
</fields>
<custom_php_resync_config_command>
sync_package_varnish();