lambda-cloudfront-cookies icon indicating copy to clipboard operation
lambda-cloudfront-cookies copied to clipboard

Multiple distributions for multiple origin paths

Open smaira opened this issue 8 years ago • 0 comments

Hey - I want to extend this that it works for multiple distributions setup for multiple origin paths in the same bucket. Can the same KMS and CloudFront key pair work for this? What would I specify in the websiteDomain attribute for config.json ?

example :

myBucket ->folder-a -> folder-a.mysite.com ->folder-b -> folder-b.mysite.com

I want to use different credentials to log into the 2 sites. Will I need to create multiple lambda functions - 1 per site or can I just use a single one with some params?

Thanks

smaira avatar May 11 '17 12:05 smaira