IIS反向代理未添加压缩

IIS反向代理未添加压缩,iis,iis-8,Iis,Iis 8,在过去的几个小时里,我一直在阅读人们在IIS中使用反向代理时遇到的问题,但我似乎无法让我的系统正常工作 我已经添加了注册表变量,将dynamicCompressionBeforeCache添加到了我的web.config中,但是当我通过代理发出请求时,IIS仍然没有添加压缩 Web.config <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer>

在过去的几个小时里,我一直在阅读人们在IIS中使用反向代理时遇到的问题,但我似乎无法让我的系统正常工作

我已经添加了注册表变量,将dynamicCompressionBeforeCache添加到了我的web.config中,但是当我通过代理发出请求时,IIS仍然没有添加压缩

Web.config

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="ReverseProxyInboundRule1" enabled="true" stopProcessing="true">
                    <match url="(.*)" />
                    <action type="Rewrite" url="http://localhost:9555/" logRewrittenUrl="true" />
                </rule>
            </rules>
        </rewrite>
        <urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="false" />
    </system.webServer>
</configuration>

我对反向代理不太了解,但可以肯定的是,由于IIS没有处理请求,必须配置反向代理服务器来处理压缩?
const http = require("http");

http.createServer((req, res) => {
    res.write("hi");
    res.end();
}).listen(9555);