带有Windows Auth的IIS反向代理引发间歇性502错误

我在IIS上build立了一个网站(www.mysite.com)来提供SSL和Windows身份validation,并将所有HTTPS请求转发到另一台服务器(BIOS名称:internalserver;端口2080)。 指定此设置的规则显示如下:

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <outboundRules> <preConditions> <preCondition name="ResponseIsHtml1"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> </preCondition> </preConditions> </outboundRules> <rules> <rule name="ReverseProxyInboundRule1" stopProcessing="true"> <match url="(.*)" /> <action type="Rewrite" url="http://InternalServer:2080/{R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration> 

这导致了以下行为(可在IExplorer和Firefox中重现):

每当浏览器closures并重新启动时,错误502就会重新出现。

另一方面,如果我使用基本身份validation而不是Windows身份validation,反向代理工作得很好,没有上述问题出现。

我的问题是:

  • 在这种types的configuration已知的错误502的出现?
  • 这是否代表IIS中的错误?
  • 如果没有,是否与已知产生此问题的其他软件有任何交互?