Skip to content

Commit

Permalink
add players domain caching
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Jul 28, 2024
1 parent 3e716ab commit af9f077
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions terraform/cache_rules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,48 @@ resource "cloudflare_ruleset" "cache_rules" {
}
}
}

rules {
action = "set_cache_settings"
description = "players domain caching"
enabled = true
expression = "(http.host eq \"players.tarkov.dev\")"

action_parameters {
automatic_https_rewrites = false
bic = false
cache = true
cookie_fields = []
disable_apps = false
disable_railgun = false
disable_zaraz = false
email_obfuscation = false
hotlink_protection = false
increment = 0
mirage = false
opportunistic_encryption = false
origin_error_page_passthru = false
phases = []
products = []
request_fields = []
respect_strong_etags = false
response_fields = []
rocket_loader = false
rules = {}
rulesets = []
server_side_excludes = false
status_code = 0
sxg = false

browser_ttl {
default = 86400
mode = "override_origin"
}

edge_ttl {
default = 86400
mode = "override_origin"
}
}
}
}

0 comments on commit af9f077

Please sign in to comment.