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.1Varnish: Backends/usr/local/pkg/varnish.inc/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish64/varnish_lb_directors.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish64/varnish_settings.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish64/varnish_custom_vcl.xml/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish64/varnish.inc/usr/local/pkg/0755http://www.pfsense.com/packages/config/varnish64/varnish_sync.xml/usr/local/www/0755http://www.pfsense.com/packages/config/varnish64/varnish_view_config.php/usr/local/www/0755http://www.pfsense.com/packages/config/varnish64/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_intervalEnter the URL that varnish will use to ensure that this backend is healthy.inputProbe 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.inputURL MappingsURL MappingslisttopicIf you plan to load balance to this backend then visit the LB Directors tab and do not add any mappings below.Map URLsMapURLsrowhelperMatch typefieldtypeSelect the field type that you would like to use in matching the URL.selectURLurlmappingEnter the URL that will be mapped to this backend.input30
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);