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 here Describe your package requirements here Currently there are no FAQ items provided. varnishbackends 0.0.1 Varnish: Backends /usr/local/pkg/varnish.inc /usr/local/pkg/ 0755 http://www.pfsense.com/packages/config/varnish64/varnish_settings.xml /usr/local/pkg/ 0755 http://www.pfsense.com/packages/config/varnish64/varnish_custom_vcl.xml /usr/local/pkg/ 0755 http://www.pfsense.com/packages/config/varnish64/varnish.inc /usr/local/www/ 0755 http://www.pfsense.com/packages/config/varnish64/varnish_view_config.php /usr/local/www/ 0755 http://www.pfsense.com/packages/config/varnish64/varnishstat.php Varnish Varnish
Services
varnish_backends.xml
varnish varnish.sh varnishd Varnish HTTP accelerator Backends /pkg.php?xml=varnish_backends.xml Settings /pkg_edit.php?xml=varnish_settings.xml&id=0 Custom VCL /pkg_edit.php?xml=varnish_custom_vcl.xml&id=0 LB Directors /pkg.php?xml=varnish_lb_directors.xml XMLRPC Sync /pkg_edit.php?xml=varnish_sync.xml&id=0 View Configuration /varnish_view_config.php VarnishSTAT /varnishstat.php IPAddress ipaddress Name backendname Backend name backendname Enter the name of this backend web server. input ^[a-z0-9.|-]+$ IPAddress ipaddress Enter the IP Address of the backend web server. input Port port Enter the TCP/IP port of the webserver. input ^[0-9]+$ First byte timeout first_byte_timeout time to wait for the first byte from the backend and .between_bytes_timeout for time to wait between each received byte. input Connect timeout connect_timeout The time to wait for a backend connection. input Probe URL probe_interval Enter the URL that varnish will use to ensure that this backend is healthy. input Probe Interval probe_interval Enter the frequency in seconds that varnish will check the probe url. input Probe Timeout probe_timeout Enter the frequency in seconds that varnish will wait for a backend probe response. input Probe Window probe_window Enter the value of how many of the latest polls that should be examined. input Probe Threshold probe_threshold Enter the value of how many of those must have succeeded for us to consider the backend healthy. input URL Mappings URL Mappings listtopic If you plan to load balance to this backend then visit the LB Directors tab and do not add any mappings below. Map URLs MapURLs rowhelper Match type fieldtype Select the field type that you would like to use in matching the URL. select URL urlmapping Enter the URL that will be mapped to this backend. input 30 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);