Skip to content

Commit 7fb3773

Browse files
authored
fix: upstream_protocol reference in auth_orgs (#509)
Signed-off-by: Tom Hayward <[email protected]>
1 parent 2b9527b commit 7fb3773

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## master / unreleased
44

5+
* [BUGFIX] fix: upstream_protocol reference in auth_orgs #509
56
* [ENHANCEMENT] Add `nginx.config.upstream_protocol` field to configure the upstream protocol in the nginx configuration #506
67

78
## 2.4.0 / 2024-07-18

templates/nginx/nginx-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ data:
160160
{{- range $org := compact .Values.nginx.config.auth_orgs | uniq }}
161161
location = /api/v1/push/{{ $org }} {
162162
proxy_set_header X-Scope-OrgID {{ $org }};
163-
proxy_pass {{ .Values.nginx.config.upstream_protocol }}://{{ template "cortex.fullname" $ }}-distributor.{{ $rootDomain }}/api/v1/push;
163+
proxy_pass {{ $.Values.nginx.config.upstream_protocol }}://{{ template "cortex.fullname" $ }}-distributor.{{ $rootDomain }}/api/v1/push;
164164
}
165165
{{- end }}
166166
{{- end }}

0 commit comments

Comments
 (0)