-
-
Save richardgrantserverless/5958c5ded1f722047a5307d7e1468857 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RoutingRules> | |
<RoutingRule> | |
<Condition> | |
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> | |
</Condition> | |
<Redirect> | |
<Protocol>https</Protocol> | |
<HostName>YOUR-API-ENDPOINT.execute-api.us-east-1.amazonaws.com</HostName> | |
<ReplaceKeyPrefixWith>dev-1/</ReplaceKeyPrefixWith> | |
<HttpRedirectCode>307</HttpRedirectCode> | |
</Redirect> | |
</RoutingRule> | |
</RoutingRules> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment