WSO2 Publisher/Store api-manager.xml config GatewayEndpoint with gateway clustering -
if have multiple gateway worker nodes, how can config gatewayendpoint?
i read post of setup gateway endpoint, case has 1 gateway worker node. had nginx node before wso2 clustering, need display final endpoint url in store end users. serverurl, can config url: "https://mgt.gw.devzone.com/services/" .
<apigateway> <environments> <environment type="hybrid" api-console="true"> <name>production , sandbox</name> <description>this hybrid gateway handles both production , 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>
yes serverurl should point gw manager node. when specifying gw worker urls need point nginx. gatewayendpoint including here should resolve nginx , nginx loadbalance request between worker nodes. url add here shown in api store.
Comments
Post a Comment