Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 6e9bbff

Browse files
authoredOct 8, 2021
DGCA Web: Prevent proxied URLs from containing a double / (#29)
Previously, we had: proxy_pass ${DGCA_ISSUANCE_SERVICE_URL}/; where DGCA_ISSUANCE_SERVICE_URL was set to: http://dgca-issuance-service.dgca-issuance-service.svc.cluster.local/ which would result in a final configuration of: proxy_pass http://dgca-issuance-service.dgca-issuance-service.svc.cluster.local//
1 parent 89a292e commit 6e9bbff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎charts/dgca-issuance-web/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ apiVersion: v2
22
name: dgca-issuance-web
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 0.1.9
5+
version: 0.1.10
66

77
appVersion: "1.17.0"

‎charts/dgca-issuance-web/templates/configmap.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ data:
2222
}
2323
location /dgca-issuance-service/ {
2424
proxy_ssl_server_name on;
25-
proxy_pass ${DGCA_ISSUANCE_SERVICE_URL}/;
25+
proxy_pass ${DGCA_ISSUANCE_SERVICE_URL};
2626
}
2727
location /dgca-businessrule-service/ {
2828
proxy_ssl_server_name on;
29-
proxy_pass ${DGCA_BUSINESSRULE_SERVICE_URL}/;
29+
proxy_pass ${DGCA_BUSINESSRULE_SERVICE_URL};
3030
}
31-
}
31+
}

0 commit comments

Comments
 (0)
This repository has been archived.