diff --git a/docs/en/solution-templates/layered-web-application/deployment/deployment-iis.md b/docs/en/solution-templates/layered-web-application/deployment/deployment-iis.md index 0de00c8d35..4f77f3040d 100644 --- a/docs/en/solution-templates/layered-web-application/deployment/deployment-iis.md +++ b/docs/en/solution-templates/layered-web-application/deployment/deployment-iis.md @@ -254,6 +254,39 @@ We can visit the websites from a browser. ![Tiered IIS deployment](../../../images/iis-sample-tiered-deployment.gif) +{{ if UI == "NG" }} +## Rewrite for getEnvConfig + +Please add the following rewrite rules to your `web.config` file to redirect requests for `getEnvConfig` to `dynamic-env.json`: + +```xml + + + + + + + + + + + + + + + + + + + + + +``` + +> See [Angular RemoteEnvironment](https://abp.io/docs/latest/framework/ui/angular/environment#remoteenvironment) for more details. + +{{ end }} + ## Fix 405 Method Not Allowed Error Remove `WebDAV` modules and handlers from the `Web.config` file.