Skip to content

Commit

Permalink
add redirect rule for compass - master
Browse files Browse the repository at this point in the history
  • Loading branch information
seungpark committed Oct 8, 2024
1 parent 01bec8f commit 91dfa93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infrastructure/ecs-main/buckets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,12 @@ Resources:
Protocol: "https"
HostName: ${self:custom.site.host.${self:provider.stage}}
ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/compass/current
- RoutingRuleCondition:
KeyPrefixEquals: ${self:custom.site.prefix.${self:provider.stage}}/compass/master/
RedirectRule:
Protocol: "https"
HostName: ${self:custom.site.host.${self:provider.stage}}
ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/compass/current/
DocAtlasBucket:
Type: "AWS::S3::Bucket"
Properties:
Expand Down

0 comments on commit 91dfa93

Please sign in to comment.