I deployed a simple Ember app to Amazon S3 just to get some experience on how it works.
The app is available here.
The back-end is a Rails 5 API hosted at Heroku.
The only available url is to get articles resource.
It works only when I click on Articles link. If I try to refresh the same URL, I get:
Message: Access Denied
Why so ?
I tried to apply redirections rules as described in ember-cli-deploy-s3-index bu putting the XML settings as in the below screenshot, but it is not valid:
So what is the right way to go:
- either set
environment.js settings (or to keep the default
- any other solution ?
I figured out myself.
You should not take
http:// part of the AWS end point url for HotName tag, just like that:
I also kept
locationType set to its default value:
Hope this helps.