From bf840eaaa65b84c891e7c21e628f17ddcdf2071f Mon Sep 17 00:00:00 2001 From: delthas Date: Tue, 21 Jul 2020 23:09:44 +0200 Subject: [PATCH] c4: fix typo --- chapter-4.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter-4.rst b/chapter-4.rst index 2cca075..90e2123 100644 --- a/chapter-4.rst +++ b/chapter-4.rst @@ -1273,7 +1273,7 @@ A very simple variant of this can be done like this: } } - sub vcl_deliver { + sub vcl_synth { if (resp.status == 301) { set resp.http.Location = regsub(req.http.host, "^www\.","") + req.url;