Skip to content

Commit 91969f6

Browse files
author
Arjun Bhandage
authored
[BUGFIX] Correcting nginx config for auth orgs to right proxy_pass (#192)
Signed-off-by: Arjun Bhandage <[email protected]>
1 parent 5061ce8 commit 91969f6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* [ENHANCEMENT] Define namespace in templates #184
99
* [ENHANCEMENT] Use FQDN for memcached addresses #175
1010
* [ENHANCEMENT] Optionally generate endpoints for `X-Scope-OrgID` injection (multi-tenancy) #180
11+
* [BUGFIX] Correcting nginx config for auth orgs to right proxy_pass #192
1112

1213
## 0.6.0 / 2021-06-28
1314

templates/nginx/nginx-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ data:
1616
1717
events {
1818
worker_connections 4096; ## Default: 1024
19-
}
19+
}
2020
2121
http {
2222
default_type application/octet-stream;
@@ -107,7 +107,7 @@ data:
107107
{{- range $org := compact .Values.nginx.config.auth_orgs | uniq }}
108108
location = /api/v1/push/{{ $org }} {
109109
proxy_set_header X-Scope-OrgID {{ $org }};
110-
proxy_pass http://{{ template "cortex.fullname" $ }}-distributor.{{ $rootDomain }}$request_uri;
110+
proxy_pass http://{{ template "cortex.fullname" $ }}-distributor.{{ $rootDomain }}/api/v1/push;
111111
}
112112
{{- end }}
113113
{{- end }}

0 commit comments

Comments
 (0)