Skip to content

Commit b1d0b09

Browse files
authored
Merge pull request #1843 from reasonerjt/rm-chartrepo-nginx
Remove chartrepo location for nginx configmap
2 parents 8b7db8d + 778849a commit b1d0b09

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

templates/nginx/configmap-http.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -90,21 +90,6 @@ data:
9090
proxy_request_buffering off;
9191
}
9292
93-
location /chartrepo/ {
94-
proxy_pass {{ $scheme }}://core/chartrepo/;
95-
{{- if and .Values.internalTLS.enabled }}
96-
proxy_ssl_verify off;
97-
proxy_ssl_session_reuse on;
98-
{{- end }}
99-
proxy_set_header Host $host;
100-
proxy_set_header X-Real-IP $remote_addr;
101-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
102-
proxy_set_header X-Forwarded-Proto $x_forwarded_proto;
103-
104-
proxy_buffering off;
105-
proxy_request_buffering off;
106-
}
107-
10893
location /c/ {
10994
proxy_pass {{ $scheme }}://core/c/;
11095
proxy_set_header Host $host;

templates/nginx/configmap-https.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -113,23 +113,6 @@ data:
113113
proxy_request_buffering off;
114114
}
115115
116-
location /chartrepo/ {
117-
proxy_pass {{ $scheme }}://core/chartrepo/;
118-
{{- if and .Values.internalTLS.enabled }}
119-
proxy_ssl_verify off;
120-
proxy_ssl_session_reuse on;
121-
{{- end }}
122-
proxy_set_header Host $host;
123-
proxy_set_header X-Real-IP $remote_addr;
124-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
125-
proxy_set_header X-Forwarded-Proto $x_forwarded_proto;
126-
127-
proxy_cookie_path / "/; Secure";
128-
129-
proxy_buffering off;
130-
proxy_request_buffering off;
131-
}
132-
133116
location /c/ {
134117
proxy_pass {{ $scheme }}://core/c/;
135118
proxy_set_header Host $host;

0 commit comments

Comments
 (0)