如果我有多个网关工作节点,我该如何配置 GatewayEndpoint?
我阅读了setup gateway endpoint的帖子,这种情况下只有一个网关工作节点。在 WSO2 集群之前我也有 nginx 节点,所以我们还需要在商店中向最终用户显示最终端点 URL。对于 ServerURL,我可以将其配置为 url:“ https://mgt.gw.devzone.com/services/ ”。
<APIGateway>
<Environments>
<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>
<ServerURL>https://<API-Gateway-Host>:9443/services/</ServerURL>
<Username>${admin.username}</Username>
<Password>${admin.password}</Password>
<GatewayEndpoint>http://<API-Gateway-Host>:8280,https://<API-Gateway-Host>:8243</GatewayEndpoint>
</Environment>
</Environments>
</APIGateway>