Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
fix: modify cloudfront configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jspark2000 committed Mar 6, 2024
1 parent 2aeb1f8 commit eece0f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
7 changes: 3 additions & 4 deletions aws/cdn/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ resource "aws_cloudfront_distribution" "main" {
}
}

price_class = "PriceClass_200"
enabled = true
comment = "skku-royals-cdn-cloudfront-distribution"
aliases = ["cdn.skku-royals.com"]
enabled = true
comment = "skku-royals-cdn-cloudfront-distribution"
aliases = ["cdn.skku-royals.com"]


restrictions {
Expand Down
10 changes: 4 additions & 6 deletions aws/royals/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ resource "aws_cloudfront_distribution" "main" {
origin_id = "vercel"

custom_origin_config {
http_port = 80
https_port = 443
origin_protocol_policy = "https-only"
origin_ssl_protocols = ["TLSv1.2"]
origin_keepalive_timeout = 5
origin_read_timeout = 30
http_port = 80
https_port = 443
origin_protocol_policy = "http-only"
origin_ssl_protocols = ["TLSv1.2"]
}
}

Expand Down
5 changes: 0 additions & 5 deletions aws/royals/web-acl.tf

This file was deleted.

0 comments on commit eece0f2

Please sign in to comment.