-
Notifications
You must be signed in to change notification settings - Fork 261
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
Undocument spin-client-addr
header
#2989
Comments
The Spin CLI doesn't seem to support
|
Looking at the X-Forwarded-For docs, the original client address is the first item in the header value, followed by the list of proxies. So I think the CLI behaviour should be:
Does that sound right? |
I'm not sure about this; you don't usually stick the last source IP in |
Ah, I was unclear. My suggestion is that we should leave it to the operator of the Spin host to ensure standard(-ish) headers like |
The
spin-client-addr
header gives the IP and source port of some downstream client. I'd like to remove this from the "Spin contract" (and specifically developer.fermyon.com) for two reasons:We can continue populating the header on a best-effort basis for backward compat but users should look to e.g.
x-forwarded-for
for this info like in any other environment.The text was updated successfully, but these errors were encountered: