Contact Free trial Login

Add Whitelist Addresses for API Platform Proxies

By default, proxy requests are enabled for the domain name where the platform is running.

To add whitelist addresses:

  1. Log in to Ops Center and select Configuration.

  2. Select the api-manager namespace from the right drop-down menu and then select the api-platform-web-env config map from the left drop-down menu.

  3. Select APW_FEATURES_PROXYWHITELIST and ensure that value is set to true.

    If not, set it to true and then select Apply.

  4. Select APW_PROXYWHITELIST_RULES.

  5. Write your rules separated by commas.

    The following example defines regular expressions that allow requests to be made to the .somewhere.com/ and .somewhereelse.com/ domains, where * is any part of a DNS name or URL:

.*\.somewhere\.com,.*\.somewhereelse\.com
  1. Select Apply to save changes to the api-platform-web-env config map.

  2. Re-create the pods to ensure that each node in the cluster uses the most recent configuration:

    kubectl delete pod -n api-manager -l component=api-platform-web

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub