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

Question: url.scheme with reverse proxy? #2009

Open
dmathieu opened this issue Mar 19, 2025 · 1 comment
Open

Question: url.scheme with reverse proxy? #2009

dmathieu opened this issue Mar 19, 2025 · 1 comment

Comments

@dmathieu
Copy link
Member

I'm looking at the http span doc, and while it does explain the expected behavior regarding reverse proxies, it only mentions it for the server. namespace.

My question therefore is: what about other attributes that may be different between the external request and the internal one when a reverse proxy is involved, such as url.scheme.
The scheme may be https outside the proxy, and http within the internal network.

In which case, should we try to detect the external scheme and use that rather than the internal value?

@trask
Copy link
Member

trask commented Mar 19, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Need triage
Development

No branches or pull requests

2 participants