Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot send $upstream_addr in a header? #119

Open
michalrus opened this issue Apr 13, 2021 · 0 comments
Open

Cannot send $upstream_addr in a header? #119

michalrus opened this issue Apr 13, 2021 · 0 comments

Comments

@michalrus
Copy link

In a location block, I’m trying to do:

location / {
  proxy_pass http://falcon-backend-driving-fr/query;

  more_set_headers 'X-Upstream-Content-Type: $upstream_http_content_type';
  more_set_headers 'X-Upstream-Addr: $upstream_addr';
}

The first line with X-Upstream-Content-Type works, while X-Upstream-Addr is not added at all. I’m not sure, how to proceed…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant