Skip to content

Commit

Permalink
aws_s3_bucket_website_configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn committed Dec 4, 2024
1 parent c0cce06 commit fcc698c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions infrastructure/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ resource "aws_s3_bucket_public_access_block" "redirect_bucket_access" {
ignore_public_acls = false
restrict_public_buckets = false
}
#
# resource "aws_s3_bucket_website_configuration" "redirect_bucket" {
# bucket = aws_s3_bucket.redirect_getstronger_pro.id
#
# redirect_all_requests_to {
# host_name = "www.getstronger.pro"
# protocol = "https"
# }
# }

resource "aws_s3_bucket_website_configuration" "redirect_bucket" {
bucket = aws_s3_bucket.redirect_getstronger_pro.id

redirect_all_requests_to {
host_name = "www.getstronger.pro"
protocol = "https"
}
}
#
# resource "aws_s3_bucket_policy" "redirect_policy" {
# bucket = aws_s3_bucket.redirect_getstronger_pro.id
Expand Down

0 comments on commit fcc698c

Please sign in to comment.