I own a domain name my-portal.com.
I want to serve a static website from my-portal.com/site/a/.
I want to serve another static website from my-portal.com/site/b/.
How can I do that with resources that AWS provides?
I was trying to setup two websites as two separate S3 buckets with static website hosting enabled and then created an API Gateway with resources /site/a and /site/b configured as HTTP proxy to S3 websites.
This setup worked correctly for most of the cases. But when a browser tries to load a binary file (font, image, etc.) from my static website, the API Gateway does not properly handle that file and responds with the corrupted one (because it behaves strangely with binary files).
What other ways to achieve the same result do I have?