Commit 86052960 authored by Ingvar Hagelund's avatar Ingvar Hagelund

vcl changes from 1.x to 2.0 documented for Red Hat

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3153 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 278fd72a
......@@ -5,6 +5,24 @@ build varnish with. This means GCC 3.4.6 on a standard RHEL4 system.
Varnish should work fine with GCC 3.3 and above.
Upgrading from 1.x to 2.0
=========================
There are a few changes in the vcl language from varnish-1.x to 2.0.
Because of varnish' dynamic vcl loading feature, there is no way to
guarantee that the vcl file in use actually exists on disk. Thus,
there is no way to securely automate this process, and one must do the
changes by hand.
In vcl, the word "insert" has been replaced by "deliver".
In the vcl declaration of backends, where one earlier used "set
backend", backend parts are now just prefixed with a dot, so the
default localhost configuration will look like this:
backend default {
.host = "127.0.0.1";
.port = "80";
}
Configuration of addresses and ports
====================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment