Apigee>Admin>Environments>Target Servers: "http://host/path"
gives "Host can only contain letters, numbers, hyphens, and periods".
Could someone be so kind to suggest how we can use "http://host/path" (e.g. mocktarget.apigee.net/endpoint_name_here) in the Target Servers?
Good day, dear community,
thank you,
best regards, Yermek
Solved! Go to Solution.
@optimism
You can only configure the Hostname in a Target Server.
If you want to configure a path, you have to do it at the Target Endpoint flow like below, where targetServer1 is the exact name of the Target Server you have configured under Apigee>Admin>Environments>Target Servers
<HTTPTargetConnection>
<LoadBalancer>
<Server name="targetserver1" />
</LoadBalancer>
<Path>/basepath</Path>
</HTTPTargetConnection>
Source: https://docs.apigee.com/api-platform/deploy/load-balancing-across-backend-servers
@optimism
You can only configure the Hostname in a Target Server.
If you want to configure a path, you have to do it at the Target Endpoint flow like below, where targetServer1 is the exact name of the Target Server you have configured under Apigee>Admin>Environments>Target Servers
<HTTPTargetConnection>
<LoadBalancer>
<Server name="targetserver1" />
</LoadBalancer>
<Path>/basepath</Path>
</HTTPTargetConnection>
Source: https://docs.apigee.com/api-platform/deploy/load-balancing-across-backend-servers