Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (std.ip(regsub(req.http.X-Forwarded-For, "[, ].*$", ""), "1.2.3.4") ~ editors) {
- # if the header is set to no-cache set always miss
- if (req.http.Cache-Control ~ "no-cache" ) {
- set req.hash_always_miss = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement