是否有与 IIS 等效的 ProxyPass?

Mic*_*yor 5 iis ssl

我需要将一个 SSL 站点重定向到另一个 SSL 站点。

例如,我控制https://sitea.michael.com但我希望那里的流量被转发到https://siteb.notinmycontrol.com

我不控制 notinmycontrol.com 上的 DNS,无论如何他们无法在他们的服务器上安装 michael.com 证书。

如果我正在运行 Apache 服务器,这将通过 mod_proxy 和 mod_ssl 工作

<VirtualHost *:80>
  ServerName sitea.michael.com
  ServerAdmin webmaster@localhost
        SSLProxyEngine on
        ProxyPass / https://siteb.notinmycontrol.com/
        ProxyPassReverse / https://siteb.notinmycontrol.com/

        ErrorLog /var/log/apache2/error.log
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)

如果我运行的是 IIS 服务器,是否有等效的方法来执行此操作?

Mat*_*ttB 4

如果您使用的是 IIS 7 或更高版本,则应该能够使用ARR作为反向代理