From 284cbacb9bc31fbb6c1c2a1d18606f61d2d6df94 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 13 Dec 2015 01:27:42 +0100 Subject: [PATCH 1/1] Pipe PUTs through Varnish by default. --- doc/README | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/README b/doc/README index 2646d3e..42d467c 100644 --- a/doc/README +++ b/doc/README @@ -15,6 +15,9 @@ backend pr0n { sub vcl_recv { if (req.http.host ~ "^pr0n\.sesse\.net(:[0-9]+)?$") { set req.backend_hint = pr0n; + if (req.method == "PUT") { + return (pipe); + } } } -- 2.39.5