How can my s3 bucket host multiple websites in different folders using nginx?
问题 I have an s3+Cloudfront solution on Amazon. I would like to host different websites in different folders inside the bucket and access them in one of this two way: - a subdomain -> mywebsite1.mydomain.com or - path -> www.mydomain.com/mywebsite1 I read that a proxy based on nginx could solve my problems. Is it true? Is it possible to get nginx on s3? 回答1: You can do this with Nginx (or HAProxy) running in EC2 and acting as a reverse proxy in front of the buckets, yes, but if you are not