Skip to content

Commit ab02ddb

Browse files
committed
Improve documentation
* condition for redirect is 403 not 404 * add note to remember to set region when bucket is not located in us-east-1
1 parent ed00c06 commit ab02ddb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ For detailed information on how configuration of plugins works, please refer to
6060

6161
### region
6262

63-
The region your bucket is located in.
63+
The region your bucket is located in.
64+
65+
__NOTE__: _You need to set the region if your bucket is not located in the default region. (e.g. set this to `eu-west-1` if your bucket is located in the 'Ireland' region)_
6466

6567
*Default:* `'us-east-1'`
6668

@@ -169,7 +171,7 @@ You can deploy your Ember application to S3 and still use the history-api for pr
169171
<RoutingRules>
170172
<RoutingRule>
171173
<Condition>
172-
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
174+
<HttpErrorCodeReturnedEquals>403</HttpErrorCodeReturnedEquals>
173175
</Condition>
174176
<Redirect>
175177
<HostName><your-bucket-endpoint-from-static-website-hosting-options></HostName>

0 commit comments

Comments
 (0)