群集环境的wso2 api管理器配置 环境
因此,我有一个集群环境,其中有一个API管理器和两个网关工作程序(网关位于负载平衡器上)以及两个身份服务器作为密钥管理器(负载平衡器) 当涉及到配置下面的代码时,我感到困惑群集环境的wso2 api管理器配置 环境,wso2,wso2is,wso2-am,Wso2,Wso2is,Wso2 Am,因此,我有一个集群环境,其中有一个API管理器和两个网关工作程序(网关位于负载平衡器上)以及两个身份服务器作为密钥管理器(负载平衡器) 当涉及到配置下面的代码时,我感到困惑 <Environment type="hybrid" api-console="true"> <Name>Production and Sandbox</Name> <Description>This is
<Environment type="hybrid" api-console="true">
<Name>Production and Sandbox</Name>
<Description>This is a hybrid gateway that handles both production and sandbox token traffic.</Description>
<!-- Server URL of the API gateway -->
<ServerURL>https://gatemgrdev.byui.edu/services/</ServerURL>
<!-- Admin username for the API gateway. -->
<Username>${admin.username}</Username>
<!-- Admin password for the API gateway.-->
<Password>${admin.password}</Password>
<!-- Endpoint URLs for the APIs hosted in this API gateway.-->
<GatewayEndpoint>http://${carbon.local.ip}:${http.nio.port},https://${carbon.local.ip}:${https.nio.port}</GatewayEndpoint>
</Environment>
</Environments>
</APIGateway>
生产和沙箱
这是一个混合网关,处理生产和沙箱令牌流量。
https://gatemgrdev.byui.edu/services/
${admin.username}
${admin.password}
http://${carbon.local.ip}:${http.nio.port},https://${carbon.local.ip}:${https.nio.port}
在我的身份服务器中,我通常将服务器URL指向我的API管理器。像这样
<ServerURL>https://apimgr.org/services/</ServerURL>
https://apimgr.org/services/
在我的API管理器中,我通常将配置更改为
<GatewayEndpoint>http://gateworker.org,https://gateworker.org</GatewayEndpoint>
http://gateworker.org,https://gateworker.org
那么,我应该如何配置网关工作者呢?我必须对他们做些什么吗?此外,我正在正确配置上述两种配置?您可以从[1]中找到网关配置 [1] 谢谢
伊苏拉 您可以从[1]中找到网关配置 [1] 谢谢
伊苏拉