Skip to content

Commit bea6ec5

Browse files
committed
fix auth header and 426 error from envoy
1 parent c642485 commit bea6ec5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/koku-ui-onprem/nginx.conf.template

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
location /api {
22
proxy_pass ${API_PROXY_URL};
3+
4+
proxy_set_header Authorization "Bearer $http_x_forwarded_access_token";
35
proxy_set_header Host $host;
46
proxy_set_header X-Real-IP $remote_addr;
57
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
6-
proxy_set_header X-Forwarded-Proto $scheme;
8+
9+
proxy_http_version 1.1;
10+
proxy_set_header Connection "";
711
}
812

913
location / {

0 commit comments

Comments
 (0)