mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
cloudfront_distribution: fix the order of headers to avoid updates again and again (#37340)
* Fix python2/3 compatibilities issues * Sort cloudfront_distribution headers to avoid useless updates
This commit is contained in:
parent
062a5551e0
commit
ec2e027980
2 changed files with 11 additions and 5 deletions
|
@ -1,12 +1,16 @@
|
|||
cloudfront_hostname: "{{ resource_prefix | lower }}01"
|
||||
cloudfront_hostname: "{{ resource_prefix }}01"
|
||||
# Use a domain that has a wildcard DNS
|
||||
cloudfront_alias: "{{ cloudfront_hostname | lower }}.github.io"
|
||||
cloudfront_alias: "{{ cloudfront_hostname }}.github.io"
|
||||
|
||||
cloudfront_test_cache_behaviors:
|
||||
- path_pattern: /test/path
|
||||
forwarded_values:
|
||||
headers:
|
||||
- Host
|
||||
- X-HTTP-Forwarded-For
|
||||
- CloudFront-Forwarded-Proto
|
||||
- Origin
|
||||
- Referer
|
||||
allowed_methods:
|
||||
items:
|
||||
- GET
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue