fix: pass headers through from ingress controller — no overwrite
This commit is contained in:
parent
c2bfffa668
commit
8bbf2ccc25
1 changed files with 1 additions and 4 deletions
|
|
@ -99,10 +99,7 @@ server {{
|
||||||
|
|
||||||
location / {{
|
location / {{
|
||||||
proxy_pass http://{upstream};
|
proxy_pass http://{upstream};
|
||||||
proxy_set_header Host $host;
|
# Headers pass through from ingress controller — no overwrite
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
}}
|
}}
|
||||||
}}
|
}}
|
||||||
""")
|
""")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue