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.varnishbackends0.0.5Varnish: Backends/usr/local/pkg/varnish.inc/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish3/varnish_lb_directors.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish3/varnish_settings.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish3/varnish_custom_vcl.xml/usr/local/www/widgets/widgets/0755http://www.pfsense.com/packages/config/varnish3/varnish.widget.php/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish3/varnish.inc/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish3/varnish_sync.xml/usr/local/www/0755http://www.pfsense.com/packages/config/varnish3/varnish_view_config.php/usr/local/www/0755http://www.pfsense.com/packages/config/varnish3/varnishstat.phpvarnishvarnish.shvarnishdVarnish HTTP acceleratorBackends/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.phpIPAddressipaddressNamebackendnameBackendSettingsBackendSettingslisttopicBackend settingsBackend namebackendnameEnter the name of this backend web server.input^[a-z0-9.|-]+$IPAddressipaddressEnter the IP Address of the backend web server.inputPortportEnter the TCP/IP port of the webserver.input^[0-9]+$PerformanceMetricsPerformanceMetricslisttopicPerformance metricsFirst byte timeoutfirst_byte_timeout time to wait for the first byte from the backend and .between_bytes_timeout for time to wait between each received byte.inputConnect timeoutconnect_timeoutThe time to wait for a backend connection.inputProbeInfoProbeInfolisttopicProbe settingsProbe URLprobe_urlEnter the URL that varnish will use to ensure that this backend is healthy. It can be a url like "/", "/teste.htm" or a request "http://www.mysite.com/index.htm"]]>input40Probe Intervalprobe_intervalEnter the frequency in seconds that varnish will check the probe url.]]>inputProbe Timeoutprobe_timeoutEnter the frequency in seconds that varnish will wait for a backend probe response.]]>inputProbe Windowprobe_windowEnter the value of how many of the latest polls that should be examined.]]>inputProbe Thresholdprobe_thresholdEnter the value of how many of those must have succeeded for us to consider the backend healthy.]]>inputMappingsMappingslisttopicBackend MappingsLeave empty if you plan to include this server in Load Balance (LB Directors)
use 0s grace time to force no cache.]]>MapURLsrowhelperMapmaptypeSelect the field type that you would like to use in matching the URL.selectMatchfieldtypeselectexpressionurlmappinginput30grace]]>graceinput5
varnish_install();
sync_package_varnish();
create_varnish_rcd_file();
varnish_start();
sync_package_varnish();
create_varnish_rcd_file();
varnish_start();
varnish_backends_post_validate($_POST, &$input_errors);