500.53 URL rewrite module error with message Outbound rewrite rules cannot be applied when the content of the HTTP response is encoded ('gzip') with Application Insights enabled.
Add and/or change either doDynamicCompression or doStaticCompression or both to false in urlCompression element in web.config.Ex:
<configuration>For DXC Service clients compression doesn't need to be enabled for the response to end user to be compressed as CDN provider will compress the response regardless for common content-types.
<urlCompression doStaticCompression="false" doDynamicCompression="false" />
But only do this change if you experience this error.