-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
根据域名进行区分的转发 #9
Comments
组件对同一个URL接口,来源于不同域名可以制定不同的转发,URL制定如下: |
这个配置是把相同url的转发到不同的server。 |
@eddyyuen |
是我的逻辑错了。因为访问的两个不同域名的接口,正因为带上了host头信息,IIS只认这个host。 |
@eddyyuen |
例如: 服务器 192.168.2.3 IIS: 用户接口 api1.server.com:80 组织接口 api2.server.com:80
配置后只会转发到其中一个接口。nginx也是不能通过域名区分。
The text was updated successfully, but these errors were encountered: