---
schema_version: "1"
id: c706dcff83c3f02f76225e39574750e8b1473e8427ddf97eae51d126629fc60d
title: Allowing Addresses for API Platform Proxies
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/private-cloud/4.1/config-add-proxy-allowlist.md
canonical_url: https://docs.mulesoft.com/private-cloud/4.1/config-add-proxy-allowlist
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 0d5cb27b3a42b86442ac32bd060bb74d3fe7f28a34e32beb0fc4fabcba902612
description: MuleSoft Documentation Site
release: "4.1"
latest: false
---
---
product: Anypoint Platform Private Cloud Edition
version: 4.1
---

# Allowing Addresses for API Platform Proxies

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

To allow addresses in Anypoint Platform Private Cloud Edition (Anypoint Platform PCE) version 4.0
and later, follow these steps:

1.  From the api-manager/api-platform-web-env configmap verify if `APW_FEATURES_PROXYWHITELIST` is
    set to `true` by running the following command:

`kubectl get cm -n api-manager api-platform-web-env -o jsonpath={.data.APW_FEATURES_PROXYWHITELIST} true`

2.  If the response is not `true`, then set the value to `true` running the following command:

`kubectl patch cm -n api-manager api-platform-web-env -p '{"data":{"APW_FEATURES_PROXYWHITELIST": "true" }}`

3.  Update the `APW_PROXYWHITELIST_RULES` in the same configmap by running the following command to
    patch the configmap with desired allow list rules:

`kubectl patch cm -n api-manager api-platform-web-env -p '{"data":{"APW_PROXYWHITELIST_RULES": ".**\\.somewhere\\.com,.**\\.somewhereelse\\.com" }}`

The previous example shows how to allow requests to `.somewhere.com/` and `.somewhereelse.com/`
domains, where `*` is any part of a DNS name or URL, then list the rules separated by commas.

4.  Verify the patch was applied correctly. After confirmed, re-create the pods to ensure each node
    in the cluster uses the most recent configuration by running this command:

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

## See Also

- [Managing Anypoint Platform PCE](https://docs.mulesoft.com/private-cloud/4.1/operating-about)
