Copyright (C) 2011 Marcello Coutinho
All rights reserved.
*/
/* ========================================================================== */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/* ========================================================================== */
]]>
Describe your package hereDescribe your package requirements hereCurrently there are no FAQ items provided.varnishsettings0.0.6Varnish Settingspkg_edit.php?xml=varnish_settings.xml&id=0/usr/local/pkg/varnish.incBackends/pkg.php?xml=varnish_backends.xmlSettings/pkg_edit.php?xml=varnish_settings.xml&id=0Custom VCL/pkg_edit.php?xml=varnish_custom_vcl.xml&id=0LB Directors/pkg.php?xml=varnish_lb_directors.xmlXMLRPC Sync/pkg_edit.php?xml=varnish_sync.xml&id=0View Configuration/varnish_view_config.phpVarnishSTAT/varnishstat.phpListeningListeninglisttopicDaemon optionsEnable VarnishenablevarnishcheckboxListening portlisteningport Before listening on port 80, you must check 'Disable webConfigurator redirect rule' in system advanced options.]]>inputManagment interfacemanagmentEnter the Ip address and port for managment interface. HINT 127.0.0.1:81inputAdvanced startup optionsadvancedstartupEnter advanced startup options to include in rc.d filetextarea702base64StorageTypeLTStorageTypeLTlisttopicStorage typeStorage typestoragetypeSelect which storage type you would like to use.selectCache storage size in megabytesstoragesizeEnter the size of the varnish cache in megabytes. HINT: 1024 == 1 GigabyteinputWorkerThreadLTWorkerThreadLTlisttopicWorker thread configurationMinimum worker threadsminworkersEnter the minimum number of varnish worker threads.inputMaximum worker threadsmaxworkersEnter the maximum number of varnish worker threads.inputWorker thread timeouttimeoutworkersEnter the timeout time for the worker threads.inputBasicVCLLTBasicVCLLTlisttopicGeneral VCL SettingsClient identity methodclientbalanceselectDon't cache postspostcacheDon't cache postscheckboxSession CachesessioncacheNever Don't cache anything with JSESSION,PHPSESSID set. Per User This causes a lookup for a given object to include the Cookie.
Note: no-cache no-store private header directives are respected by default.]]>selectCache static contentstaticacheAlways Cache all static content. When cookies are present, varnish will unset it from object before caching. Never Do not cache static content. When possible Cache only static content and per user objects when session cache is set to it. ]]>selectFix gzip compressionfixgzipIgnore compression for images files and unknow compression algorithmcheckboxBe RFC2616 compliantrfc2616Ignore request different form GET HEAD PUT POST TRACE OPTIONS DELETEcheckboxFoward client IPxforwardSelect how to forward clients real IP.selectFetch GracegraceHow many time varnish will keep cached objects. HINT 60s, 30m, 1h]]>input5ErrorVCLLTErrorVCLLTlisttopicError SettingsRetriesrestartsHow many times restart loop until Error messages.]]>selectSaintmodesaintHow many time varnish will send cached objects from a down backend to client. HINT 60s, 30m, 1h]]>input5Custom Html error messagehtmlerrorPaste your custom html error page code here.textarea7010base64
sync_package_varnish();
create_varnish_rcd_file();
varnish_start();
varnish_settings_post_validate($_POST, &$input_errors);