What headers must be allowed for plugin to work on site served through CDN?
-
We have our wordpress site powered by an AWS EC2 instance which serves our entire site through the cloudfront CDN. The EC2 instance is the origin for the cloudfront distribution. With our set up and site serving through cloudfront CDN, we need to set in our cloudfront settings which headers to allow through to our origin EC2 server. Which specific headers and their values do we need to enable/whitelist to make your cloudsearch plugin work on this setup? Please also see the error screenshot here: https://app.box.com/s/lnmq16lycoxmffiq0utaidhkp6trmvef
I have gotten your cloudsearch plugin working fine (and it works great!) with our cloudsearch instance on our sandbox website which runs on an EC2 server. The only difference is our sandbox site doesn’t get served out through the cloudfront CDN. The only other thing I can think of is we have another wordpress plugin running on our production server that connects to AWS services specifically for clearing cloudfront caches when we update content on our site, so maybe that is not allowing your plugin or the AWS plugin to talk to AWS at the same time? Any help or insight would be greatly appreciated as I really want to get your great plugin working on our production website.
- The topic ‘What headers must be allowed for plugin to work on site served through CDN?’ is closed to new replies.