我正在尝试为我的后端应用程序服务器设置一个反向代理来执行负载平衡,并防止其他端口暴露给客户端。
如果客户端未通过身份validation,则我的应用程序服务器将客户端从http:// localhost:80redirect到http:// localhost:7001 / authenticate以进行身份validation。
我已将Windows Server 2012 R2中的IISconfiguration为反向代理。 默认网站在http:80和https:443上侦听并安装了这些模块:AAR,Web Farm,External Cache,URL重写。
在testing期间,我观察到我能够将请求发送到http:// localhost:80,并且在请求的位置标题被更改为http:// localhost:7001 / authenticate时,请求被中止。
因为客户端只知道http:80或https:443,所以我如何重新路由http:// localhost:7001 / authenticate ?