lambda-letsencrypt icon indicating copy to clipboard operation
lambda-letsencrypt copied to clipboard

Missing custom headers on CloudFront update

Open 9b opened this issue 8 years ago • 2 comments

Update to the CloudFront Origins is missing a CustomHeader that will cause issues. The key is required, but no data needs to be filled in. You can add the following line to 475 to make it work properly:

'CustomHeaders': {u'Quantity': 0}

References: https://github.com/ubergeek42/lambda-letsencrypt/blob/master/lambda_function.py#L469-L474

9b avatar Jun 29 '16 02:06 9b

On a similar note: 'QueryStringCacheKeys': {'Quantity': 0} is needed in the ForwardedValues in line 493.

https://github.com/ubergeek42/lambda-letsencrypt/blob/master/lambda_function.py#L493-L496

ov3rk1ll avatar Jan 02 '17 15:01 ov3rk1ll

I've already posted a pull request for this, but that hasn't been merged for some time now: https://github.com/ubergeek42/lambda-letsencrypt/pull/24

tomari avatar Jan 03 '17 05:01 tomari