-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcloudfront-config.json
More file actions
43 lines (43 loc) · 1022 Bytes
/
cloudfront-config.json
File metadata and controls
43 lines (43 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"CallerReference": "coder-workshop",
"Comment": "Coder Workshop CloudFront Distribution",
"DefaultCacheBehavior": {
"TargetOriginId": "coder-alb-origin",
"ViewerProtocolPolicy": "redirect-to-https",
"AllowedMethods": {
"Quantity": 7,
"Items": ["GET", "HEAD", "OPTIONS", "PUT", "POST", "PATCH", "DELETE"],
"CachedMethods": {
"Quantity": 2,
"Items": ["GET", "HEAD"]
}
},
"ForwardedValues": {
"QueryString": true,
"Cookies": {"Forward": "all"},
"Headers": {
"Quantity": 1,
"Items": ["*"]
}
},
"MinTTL": 0,
"DefaultTTL": 0,
"MaxTTL": 0
},
"Origins": {
"Quantity": 1,
"Items": [
{
"Id": "coder-alb-origin",
"DomainName": "CODER_LB_HOSTNAME_PLACEHOLDER",
"CustomOriginConfig": {
"HTTPPort": 80,
"HTTPSPort": 443,
"OriginProtocolPolicy": "http-only"
}
}
]
},
"Enabled": true,
"PriceClass": "PriceClass_100"
}