mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-09 06:33:52 -05:00
This changeset adds the no_proxy environment variable to be set at the time our app runs to exclude the internal apps running within our platform that are handled by Cloud Foundry network policies instead. Without this in place, the egress proxy will not allow our deployed apps to talk with one another. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
10 lines
265 B
Bash
10 lines
265 B
Bash
##
|
|
# Cloud Foundry app initialization script
|
|
# https://docs.cloudfoundry.org/devguide/deploy-apps/deploy-app.html#profile
|
|
##
|
|
|
|
export NEW_RELIC_PROXY_HOST=$egress_proxy
|
|
export http_proxy=$egress_proxy
|
|
export https_proxy=$egress_proxy
|
|
export no_proxy="apps.internal"
|