projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a41ae
)
Drop req.grace, it is gone in newer Varnish version
author
Tollef Fog Heen
<tfheen@err.no>
Tue, 10 Jan 2017 20:29:06 +0000
(21:29 +0100)
committer
Tollef Fog Heen
<tfheen@err.no>
Tue, 10 Jan 2017 20:29:06 +0000
(21:29 +0100)
modules/varnish/files/default.vcl
patch
|
blob
|
history
diff --git
a/modules/varnish/files/default.vcl
b/modules/varnish/files/default.vcl
index
5a25954
..
709801b
100644
(file)
--- a/
modules/varnish/files/default.vcl
+++ b/
modules/varnish/files/default.vcl
@@
-9,10
+9,6
@@
backend default {
.port = "80";
}
-sub vcl_recv {
- set req.grace = 600s;
-}
-
sub vcl_backend_response {
/* if (beresp.status != 200 && beresp.status != 403 && beresp.status != 404 && beresp.status != 301 && beresp.status != 302) {
return(restart);