From 7fb37730732f80155490f5ccb8bf69aa8210c1e9 Mon Sep 17 00:00:00 2001 From: Tom Hayward Date: Wed, 25 Sep 2024 01:09:12 -0700 Subject: [PATCH] fix: upstream_protocol reference in auth_orgs (#509) Signed-off-by: Tom Hayward --- CHANGELOG.md | 1 + templates/nginx/nginx-config.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3634147..876400bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## master / unreleased +* [BUGFIX] fix: upstream_protocol reference in auth_orgs #509 * [ENHANCEMENT] Add `nginx.config.upstream_protocol` field to configure the upstream protocol in the nginx configuration #506 ## 2.4.0 / 2024-07-18 diff --git a/templates/nginx/nginx-config.yaml b/templates/nginx/nginx-config.yaml index 830d3233..7945a0ef 100644 --- a/templates/nginx/nginx-config.yaml +++ b/templates/nginx/nginx-config.yaml @@ -160,7 +160,7 @@ data: {{- range $org := compact .Values.nginx.config.auth_orgs | uniq }} location = /api/v1/push/{{ $org }} { proxy_set_header X-Scope-OrgID {{ $org }}; - proxy_pass {{ .Values.nginx.config.upstream_protocol }}://{{ template "cortex.fullname" $ }}-distributor.{{ $rootDomain }}/api/v1/push; + proxy_pass {{ $.Values.nginx.config.upstream_protocol }}://{{ template "cortex.fullname" $ }}-distributor.{{ $rootDomain }}/api/v1/push; } {{- end }} {{- end }}