Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Different Target Endpoints for each deployment environment

I am setting up proxies and our target endpoints will be different for Dev, QA and production environments.

I am confuse as to where I would configure a different target endpoint each deployment environment, so when we want to deploy to QA and production.

For example:

Dev - dev.mydomain.com/api

Test - qa.mydomain.com/api

Prod – mydomain.com/api

I would expect when I deploy to Dev all my target endpoints would go to dev.mydomain.com/api

I see I can configure target endpoints in the proxy definition, but do not understand how to redirect based on environment.

I can see that I can set target servers in Environments, but again do not see how to configure a single proxy definition to point to appropriate target based on environment it is running in.

0 4 1,691
4 REPLIES 4