Skip to content

Commit

Permalink
fix: upstream_protocol reference in auth_orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
kd7lxl committed Sep 24, 2024
1 parent 2b9527b commit 4855c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/nginx/nginx-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 4855c48

Please sign in to comment.