Plugin doesn’t work with cloudfront securely rules
-
Hi support,
– We have the following scenario using Amazon AWS infrastructure:
---------- ----------- -------------------- ------------------ --------------- | RDS/DB | <- | EC2/WEB | <- | ELB/LoadBalancer | <- | Cloudfront/CDN | <- | Route53/DNS | ---------- ----------- -------------------- ------------------ ---------------
– Cloudfront has the a default rule that is as follow:
Any request made by the client that does not fit the previous rules will be sent to the LoadBalancer but only if it is a GET or HEAD method. This is for security to ensure no one can make POST requests on any path witch it not previously determined. This is an issue for us to use your plugin because the form in the plugin sends the POST request to, for example, “blog.example.com/#sendgrid_mc_email_subscribe”. For cloudfront the “#sendgrid_mc_email_subscribe” action is not a path so it uses the “blog.example.com/” as rule. This, in turn, blocks the request made because it’s, very correctly, a POST request.
– I want to ask if its possible to alter the plugin to send the request with some path so the request change to “blog.example.com/some_path/#sendgrid_mc_email_subscribe”. This would fix the problem completely and we would be allowed to create an specific rule just for it.Best regards,
- The topic ‘Plugin doesn’t work with cloudfront securely rules’ is closed to new replies.