Created
October 23, 2016 13:17
-
-
Save cakriwut/f8017c260030d2731ceac15a15b2b19b to your computer and use it in GitHub Desktop.
Configure IIS ARR in Azure Web Site
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
<?xml version="1.0"?> | |
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<system.webServer> | |
<proxy xdt:Transform="InsertIfMissing" enabled="true" preserveHostHeader="false" | |
reverseRewriteHostInResponseHeaders="false" arrResponseHeader="false"/> | |
<rewrite> | |
<allowedServerVariables> | |
<add name="HTTP_ACCEPT_ENCODING" xdt:Transform="Insert" /> | |
<add name="HTTP_X_ACCEPT_ENCODING" xdt:Transform="Insert" /> | |
<add name="HTTP_X_ORIGINAL_HOST" xdt:Transform="Insert" /> | |
</allowedServerVariables> | |
</rewrite> | |
<!-- | |
<httpCompression xdt:Transform="SetAttributes(noCompressionForProxies)" noCompressionForProxies="false" > | |
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" xdt:Transform="InsertIfMissing" staticCompressionLevel="9" dynamicCompressionLevel="7" /> | |
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" staticCompressionLevel="9" dynamicCompressionLevel="7" xdt:Transform="Replace" xdt:Locator="Match(name)" /> | |
</httpCompression> | |
--> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment