Skip to content

Commit bb4ad30

Browse files
authored
Merge pull request #409 from fecgov/feature/release-fix
remove eregs app from proxy
2 parents 2f42644 + 5a88857 commit bb4ad30

5 files changed

+0
-13
lines changed

bin/cf_deploy.sh

-1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ cf ${command} ${app} -f ${manifest}
6161

6262
# Add network policies
6363
cf add-network-policy proxy cms
64-
cf add-network-policy proxy eregs

manifest_dev.yml

-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ applications:
1414
- fec-creds-dev
1515
env:
1616
CMS_PROXY: "http://fec-dev-cms.apps.internal:8080"
17-
EREGS_PROXY: "http://fec-dev-eregs.apps.internal:8080"
1817
S3_BUCKET_URL: "https://cg-449d4df6-4b9e-4539-891f-363302ca5907.s3-us-gov-west-1.amazonaws.com"
1918
S3_LEGAL_AND_DOWNLOADS_URL: "https://cg-cc8e3d72-34c9-411d-b369-96c0ce6572fd.s3-us-gov-west-1.amazonaws.com"

manifest_prod.yml

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ applications:
1616
- fec-creds-prod
1717
env:
1818
CMS_PROXY: "http://fec-prod-cms.apps.internal:8080"
19-
EREGS_PROXY: "http://fec-prod-eregs.apps.internal:8080"
2019
S3_BUCKET_URL: "https://cg-47928592-406c-4536-8234-99b896e8d57d.s3-us-gov-west-1.amazonaws.com"
2120
S3_TRANSITION_URL: "http://cg-9b32b324-4671-48ca-b13b-a37b742f7443.s3-website-us-gov-west-1.amazonaws.com"
2221
S3_LEGAL_AND_DOWNLOADS_URL: "https://cg-519a459a-0ea3-42c2-b7bc-fa1143481f74.s3-us-gov-west-1.amazonaws.com"

manifest_stage.yml

-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ applications:
1313
- fec-creds-stage
1414
env:
1515
CMS_PROXY: "http://fec-stage-cms.apps.internal:8080"
16-
EREGS_PROXY: "http://fec-stage-eregs.apps.internal:8080"
1716
S3_BUCKET_URL: "https://cg-ca811ea5-b3e6-4792-ac55-2edf11f151ca.s3-us-gov-west-1.amazonaws.com"
1817
S3_LEGAL_AND_DOWNLOADS_URL: "https://cg-d3527d7d-0344-45b5-aab6-5a39d2aa409f.s3-us-gov-west-1.amazonaws.com"

nginx.conf

-9
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ http {
5050
proxy_set_header X-Script-Name "/";
5151
}
5252

53-
location /regulations {
54-
resolver {{nameservers}} ipv6=off valid=1s;
55-
set $backend "{{env "EREGS_PROXY"}}";
56-
proxy_pass $backend;
57-
proxy_set_header X-Forwarded-Host $host;
58-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
59-
proxy_set_header X-Script-Name "/regulations";
60-
}
61-
6253
location ~ /resources/(.*) {
6354
resolver 8.8.8.8;
6455
proxy_pass_request_headers off;

0 commit comments

Comments
 (0)