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;