Skip to content

Commit 36cbc13

Browse files
committed
bug #6848 Fix Varnish 4 code example (Dreimus)
This PR was merged into the 2.7 branch. Discussion ---------- Fix Varnish 4 code example Finishes #6770 Original description: > remove word in vcl_recv doesnt exist in varnish 4.* Commits ------- 4847fa5 Update varnish.rst
2 parents c8c9f17 + 4847fa5 commit 36cbc13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_cache/varnish.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ header:
3232
.. code-block:: varnish4
3333
3434
sub vcl_recv {
35-
remove req.http.Forwarded;
35+
unset req.http.Forwarded;
3636
}
3737
3838
If you do not have access to your Varnish configuration, you can instead

0 commit comments

Comments
 (0)