Set https_proxy env variable in app initialization script

This commit is contained in:
Ryan Ahearn
2022-11-08 11:48:23 -05:00
parent 13134ac6ae
commit 898a570f8f
2 changed files with 8 additions and 0 deletions

6
.profile Normal file
View File

@@ -0,0 +1,6 @@
##
# Cloud Foundry app initialization script
# https://docs.cloudfoundry.org/devguide/deploy-apps/deploy-app.html#profile
##
export https_proxy=$egress_proxy

View File

@@ -43,3 +43,5 @@ applications:
AWS_REGION: us-west-2
AWS_PINPOINT_REGION: us-west-2
AWS_US_TOLL_FREE_NUMBER: +18446120782
REQUESTS_CA_BUNDLE: "/etc/ssl/certs/ca-certificates.crt"