Cloudfront policies, couchdb ingress
This commit is contained in:
parent
724eb61976
commit
b13ebfb409
|
@ -14,18 +14,9 @@ resource "aws_cloudfront_distribution" "api-by-becki" {
|
||||||
allowed_methods = ["DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT"]
|
allowed_methods = ["DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT"]
|
||||||
cached_methods = ["GET", "HEAD"]
|
cached_methods = ["GET", "HEAD"]
|
||||||
target_origin_id = "abb.gmem.ca"
|
target_origin_id = "abb.gmem.ca"
|
||||||
viewer_protocol_policy = "allow-all"
|
viewer_protocol_policy = "redirect-to-https"
|
||||||
min_ttl = 0
|
cache_policy_id = "658327ea-f89d-4fab-a63d-7e88639e58f6"
|
||||||
default_ttl = 3600
|
response_headers_policy_id = "eaab4381-ed33-4a86-88ca-d9558dc6cd63"
|
||||||
max_ttl = 86400
|
|
||||||
|
|
||||||
forwarded_values {
|
|
||||||
query_string = true
|
|
||||||
|
|
||||||
cookies {
|
|
||||||
forward = "all"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,3 +5,15 @@ clusterSize: 1
|
||||||
persistentVolume:
|
persistentVolume:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 3Gi
|
size: 3Gi
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
hosts:
|
||||||
|
- abb.gmem.ca
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: nginx
|
||||||
|
cert-manager.io/issuer: "letsencrypt-prod"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: 10m
|
||||||
|
tls:
|
||||||
|
- secretName: couch-tls
|
||||||
|
hosts:
|
||||||
|
- abb.gmem.ca
|
Loading…
Reference in a new issue