luhliarik / rpms / varnish

Forked from rpms/varnish 6 years ago
Clone
df20619
diff -Naur ../varnish-2.0-beta1.orig/redhat/README.redhat ./redhat/README.redhat
df20619
--- ../varnish-2.0-beta1.orig/redhat/README.redhat	2008-08-27 09:45:40.000000000 +0200
df20619
+++ ./redhat/README.redhat	2008-09-02 16:14:43.000000000 +0200
df20619
@@ -5,6 +5,24 @@
df20619
 
df20619
 Varnish should work fine with GCC 3.3 and above.
df20619
 
df20619
+Upgrading from 1.x to 2.0
df20619
+=========================
df20619
+There are a few changes in the vcl language from varnish-1.x to 2.0.
df20619
+Because of varnish' dynamic vcl loading feature, there is no way to
df20619
+guarantee that the vcl file in use actually exists on disk. Thus,
df20619
+there is no way to securely automate this process, and one must do the
df20619
+changes by hand.
df20619
+
df20619
+In vcl, the word "insert" has been replaced by "deliver". 
df20619
+
df20619
+In the vcl declaration of backends, where one earlier used "set
df20619
+backend", backend parts are now just prefixed with a dot, so the
df20619
+default localhost configuration will look like this:
df20619
+
df20619
+backend default {
df20619
+  .host = "127.0.0.1";
df20619
+  .port = "80";
df20619
+}
df20619
 
df20619
 Configuration of addresses and ports
df20619
 ====================================