一台具有多个域的服务器上的多个Starcounter应用程序

时间:2016-07-04 10:51:58

标签: starcounter

我在Starcounter中没有看到内置支持进行站点绑定,例如,Internet Information Server可以根据下面使用的域名将呼叫路由到特定站点。有没有推荐的方法来做这个工作?

enter image description here

1 个答案:

答案 0 :(得分:2)

在Starcounter中,您可以在scnetworkgateway.xml文件的ReverseProxies配置部分设置多个域。

示例:

<ReverseProxy>
  <DestinationIP>127.0.0.1</DestinationIP>
  <DestinationPort>8080</DestinationPort>
  <StarcounterProxyPort>80</StarcounterProxyPort>
  <MatchingHost>my.website.com</MatchingHost>
</ReverseProxy>

详情阅读starcounter.io - Reverse proxy functionality

相关问题