Search code examples
amazon-s3amazon-cloudfrontamazon-elastic-beanstalk

ELB and Cloudfront API parameters being ignored


I have two endpoints on my Elastic Beanstalk application:

First of which I've set up Cloudfront and linked to my URL. The second is where my Elastic Beanstalk application is set up?

Why are the API parameters being registered on the latter.... and being ignored on the former?


Solution

  • Cloudfront strips the query string by default so it basically making request without query string to the beanstalk, you need to whitelist the particular query string or ALL to make it work like beanstalk link.