Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. if (std.ip(regsub(req.http.X-Forwarded-For, "[, ].*$", ""), "1.2.3.4") ~ editors) {
  2. # if the header is set to no-cache set always miss
  3. if (req.http.Cache-Control ~ "no-cache" ) {
  4. set req.hash_always_miss = true;
  5. }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement