Skip to content

Commit

Permalink
fix: sitemap cache (decentraland#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
2fd authored Jan 27, 2022
1 parent a77e035 commit fb5e120
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/.ci/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ async function main() {
const zoneId = config.requireSecret('cloudflare_zone_id')
new cloudflare.PageRule(`marketplace-sitemaps-proxy`, {
zoneId,
priority: 1,
target: domain + '/sitemap/*',
actions: {
ssl: 'flexible',
alwaysOnline: 'on',
cacheLevel: 'cacheEverything',
edgeCacheTtl: 3600,
hostHeaderOverride
}
})
Expand Down

0 comments on commit fb5e120

Please sign in to comment.