Skip to content

Commit

Permalink
fix(live/prod/agent): new routes
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksasiriski committed Nov 17, 2024
1 parent 66882ae commit d611930
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions live/prod/agent/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ locals {
}
},
{
path_pattern = "/search"
path_pattern = "/search/web"
allowed_methods = local.cloudfront_all_methods
cache_policy = {
min_ttl = 3600 // 1 hour
Expand All @@ -55,7 +55,7 @@ locals {
}
},
{
path_pattern = "/suggestions"
path_pattern = "/search/images"
allowed_methods = local.cloudfront_all_methods
cache_policy = {
min_ttl = 3600 // 1 hour
Expand All @@ -64,7 +64,16 @@ locals {
}
},
{
path_pattern = "/proxy"
path_pattern = "/search/suggestions"
allowed_methods = local.cloudfront_all_methods
cache_policy = {
min_ttl = 3600 // 1 hour
default_ttl = 86400 // 1 day
max_ttl = 259200 // 3 days
}
},
{
path_pattern = "/imageproxy"
allowed_methods = local.cloudfront_all_methods
cache_policy = {
min_ttl = 86400 // 1 day
Expand All @@ -82,7 +91,7 @@ locals {
}
},
{
path_pattern = "/currencies"
path_pattern = "/exchange/currencies"
cache_policy = {
min_ttl = 3600 // 1 hour
default_ttl = 86400 // 1 day
Expand Down

0 comments on commit d611930

Please sign in to comment.