Sitecore Reverse Proxy (8.1 → 10.4) – Part 3: IIS Rules and Custom Pipeline Implementation
In the previous article , we installed the ARR module in IIS and discussed the mistakes I made during the initial implementation. In this article, we'll look at the IIS rules and the pipeline code used to make the reverse proxy work correctly. <!--Home page--> <rule name="ProxyHomepageContent" stopProcessing="true"> <match url="^/?$" negate="false" ignoreCase="true"/> <serverVariables> <set name="HTTP_HOST" value="ss104cd.dev.local" /> </serverVariables> <action type="Rewrite" url="https://ss104cd.dev.local/en" appendQueryString="true" /> </rule> <!--EN--> <rule name="languagecoderuleEN" stopProcessing="true"> <match url="^en/?$" /> <serverVariables> <set name="HTTP_HOST" value="ss104cd.dev.local" ...