From 7804046877f31f93a387f331cf5bff4bbd72a415 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Wed, 14 Dec 2011 02:37:31 -0200 Subject: varnish - change varnish-dev to varnish3 with streaming support --- config/varnish3/varnish_custom_vcl.xml | 142 +++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 config/varnish3/varnish_custom_vcl.xml (limited to 'config/varnish3/varnish_custom_vcl.xml') diff --git a/config/varnish3/varnish_custom_vcl.xml b/config/varnish3/varnish_custom_vcl.xml new file mode 100644 index 00000000..ba6d4a51 --- /dev/null +++ b/config/varnish3/varnish_custom_vcl.xml @@ -0,0 +1,142 @@ + + + + + + + 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. + varnishcustomvcl + 0.0.2 + Varnish custom VCL + pkg_edit.php?xml=varnish_settings.xml&id=0 + /usr/local/pkg/varnish.inc + + + 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 + + + + + vcl_recv_early + vcl_recv_early + Paste your custom vcl_recv]]> code here. This code will be included at the beginning of the vcl_recv function. + textarea + 50 + 10 + base64 + + + vcl_recv_late + vcl_recv_late + Paste your custom vcl_recv]]> code here. This code will be included at the end of the vcl_recv function. + textarea + 50 + 10 + base64 + + + vcl_fetch_early + vcl_fetch_early + Paste your custom vcl_fetch]]> code here. This code will be included at the beginning of the vcl_fetch function. + textarea + 50 + 10 + base64 + + + vcl_fetch_late + vcl_fetch_late + Paste your custom vcl_fetch]]> code here. This code will be included at the end of the vcl_fetch function. + textarea + 50 + 10 + base64 + + + vcl_pipe_early + vcl_fetch_early + Paste your custom vcl_pipe]]> code here. This code will be included at the beginning of the vcl_pipe function. + textarea + 50 + 10 + base64 + + + vcl_pipe_late + vcl_fetch_late + Paste your custom vcl_pipe]]> code here. This code will be included at the end of the vcl_pipe function. + textarea + 50 + 10 + base64 + + + + + + sync_package_varnish(); + create_varnish_rcd_file(); + varnish_start(); + + \ No newline at end of file -- cgit v1.2.3