title: S3 Proxy to EC2 Instance
body: <p>I am running static hosting on s3 for my website. Eg. www.somedomain.com points to an S3 bucket.</p>
  
  <p>I have a subdomain api.somedomain.com for my api, but it has been annoying to deal with cross domain issues. I want to map www.somedomain.com/api/... -> api.somedomain.com/... but without doing a full redirect (301) since I want to be able to post.</p>
  
  <p>I understand that Cloudfront allows this behavior, but it's a bit overkill since I do not need the CDN. </p>
  
  <p>I have gotten the routing rules to work with a 301 redirect, but is there anyway to configure s3 to pass through my requests to ec2? Thanks!</p>