-
-
Save manish-pragma/39532274654f6a42f70af1fc6549700a to your computer and use it in GitHub Desktop.
Angular on S3 rewrite rules
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>403</HttpErrorCodeReturnedEquals> | |
</Condition> | |
<Redirect> | |
<HostName>example.com</HostName> | |
<ReplaceKeyPrefixWith>#/</ReplaceKeyPrefixWith> | |
<HttpRedirectCode>302</HttpRedirectCode> | |
</Redirect> | |
</RoutingRule> | |
</RoutingRules> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment