How to set Varnish so that it doesn't cache URL -
i need export csv url: http://domain.com/nextopia/products/csv/key/5213ae8cdcb0270226dc816e3838eac0
after waiting error time out:
error 503 service unavailable service unavailable varnish
i have tried:
if (req.http.host == "domain.com" && req.url == "/nextopia/") { return (pass); }
and:
if (req.url ~ "^/nextopia/") { return (pass); }
and:
.first_byte_timeout = 600s; .between_bytes_timeout = 600s;
but not effective, how export it??!! :(
the ~ matching need match url, like:
if (req.url ~ "/nextopia") { return (pass); }
without using regex roof. req.url == "/nextopia/" match of exact /nextopia/ /nextopia wont match..
have check logs see if there error timeouts and/or other errors? cheers
Comments
Post a Comment