Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add stream for extentions

  • Loading branch information...
commit 652c1a3aa0f6c2b1bd4b0cf3c9cd0c7d9f42b006 1 parent 56f8146
@pad92 pad92 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 custom.fetch.vcl-sample
View
4 custom.fetch.vcl-sample
@@ -1,7 +1,7 @@
# stream big file, add missing extention below
-if (req.url ~ "\.(avi|iso|img|dmg|mkv|zip)$") {
+if (req.url ~ "\.(avi|deb|tar|gz|rar|iso|img|dmg|mkv|zip)$") {
set beresp.do_stream = true;
- set beresp.ttl = 1h;
+ set beresp.ttl = 1d;
}
if (req.http.Host == "my-wp1.localhost" || req.http.Host == "my-wp2.localhost") {
# Since this is a Wordpress setup, the Wordpress-specific Fetch
Please sign in to comment.
Something went wrong with that request. Please try again.