Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sub vcl_fetch {
- if (beresp.http.Content-Length !~ "[0-9]{7,10}") {
- return(deliver);
- }
- else {
- return (hit_for_pass);
- }
- }
- sub vcl_recv {
- if (req.url ~ "^/images") {
- unset req.http.cookie;
- }
- if (req.url ~ "^/admin") {
- return(pass);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement