DEV Community

Bruce Axtens
Bruce Axtens

Posted on

1

Need help with IIS UrlRewriting (again)

One (hopefully final) issue with reverse proxying. IIS guru? Please read!

1

Context: Azure; Windows Server 2012; IIS 8

First up, here's the (redacted) web.config for reference

        <rewrite&gt
            <rules>
                <rule name="ReverseProxyInboundRule1" stopProcessing="false">
                    <match url="(.*)" />
                    <action type="Rewrite" url="https://www.khatam.com/{R:1}" logRewrittenUrl="true" />
                    <serverVariables>
                        <set name="HTTP_X_ORIGINAL_ACCEPT_ENCODING" value="{HTTP_ACCEPT_ENCODING}" />
                        <set name="HTTP_ACCEPT_ENCODING" value="" />
                    </serverVariables>
                </rule>
                <rule name="Capture Http Origin Header" enabled="true">
                    <match url=".*" />
                    <conditions logicalGrouping="MatchAll"

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more