2018-03-21 13:16:42 +01:00
|
|
|
cloudfront_hostname: "{{ resource_prefix }}01"
|
2018-01-17 17:03:23 +01:00
|
|
|
# Use a domain that has a wildcard DNS
|
2018-03-21 13:16:42 +01:00
|
|
|
cloudfront_alias: "{{ cloudfront_hostname }}.github.io"
|
2018-01-17 17:03:23 +01:00
|
|
|
|
|
|
|
cloudfront_test_cache_behaviors:
|
|
|
|
- path_pattern: /test/path
|
|
|
|
forwarded_values:
|
|
|
|
headers:
|
|
|
|
- Host
|
2018-03-21 13:16:42 +01:00
|
|
|
- X-HTTP-Forwarded-For
|
|
|
|
- CloudFront-Forwarded-Proto
|
|
|
|
- Origin
|
|
|
|
- Referer
|
2018-01-17 17:03:23 +01:00
|
|
|
allowed_methods:
|
|
|
|
items:
|
|
|
|
- GET
|
|
|
|
- HEAD
|
|
|
|
- POST
|
|
|
|
- PATCH
|
|
|
|
- PUT
|
|
|
|
- OPTIONS
|
|
|
|
- DELETE
|
|
|
|
cached_methods:
|
|
|
|
- GET
|
|
|
|
- HEAD
|
|
|
|
- path_pattern: /another/path
|
|
|
|
forwarded_values:
|
|
|
|
cookies:
|
|
|
|
forward: whitelist
|
|
|
|
whitelisted_names:
|
|
|
|
- my_header
|
|
|
|
query_string: yes
|
|
|
|
query_string_cache_keys:
|
|
|
|
- whatever
|
|
|
|
allowed_methods:
|
|
|
|
items:
|
|
|
|
- GET
|
|
|
|
- HEAD
|
|
|
|
cached_methods:
|
|
|
|
- GET
|
|
|
|
- HEAD
|