1. The current domain is ccpapi.xxx.cn. It can be called normally from the external network. See Figure 1.

2. The current Rancher configuration and load balancing. See Figure 2.

3. In Konga, go to SERVICES – ADD NEW SERVICE. Name: api_ccp. Url: http://api.ccp:82. Fill in only these 2 fields. Submit. See Figure 3.

4. In Konga, under SERVICES, view the details of api_ccp. The Url value has been automatically split into 3 fields (Protocol, Host, Port). See Figure 4.

5. In Konga, go to SERVICES – Service api_ccp (note: the name was slightly modified) – Routes – ADD ROUTE. Name: ccpapi. Paths: /ccpapi. Submission failed with error: Submission failed. schema violation (must set one of ‘methods’, ‘hosts’, ‘headers’, ‘paths’, ‘snis’ when ‘protocols’ is ‘https’). See Figure 5.

6. In the Paths field, press the Enter key. For Protocols: http, https, press the Enter key. Submit. See Figure 6.

7. In Rancher, go to Workloads – Upgrade Service – Port Mapping – Add Rule. See Figure 7.

8. The current Rancher configuration and load balancing. Delete the rule: ccpapi.xxx.cn. See Figure 8.

9. The current domain is apiv2.xxx.cn/ccpapi. It can be called normally from the external network. However, the request received by the server is: http://api.ccp:82. See Figure 9.

