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

Add client-ip route #97

Merged
merged 1 commit into from
Apr 21, 2023
Merged

Add client-ip route #97

merged 1 commit into from
Apr 21, 2023

Conversation

jibi
Copy link
Member

@jibi jibi commented Apr 21, 2023

which is used to echo back the client IP:

$ curl 127.0.0.1:80/client-ip -s | jq .
{
  "client-ip": "::ffff:127.0.0.1"
}

while at it, rename also auth-header.js to middleware.js

which is used to echo back the client IP:

    $ curl 127.0.0.1:80/client-ip -s | jq .
    {
      "client-ip": "::ffff:127.0.0.1"
    }

while at it, rename also auth-header.js to middleware.js

Signed-off-by: Gilberto Bertin <jibi@cilium.io>
@jibi jibi requested a review from brb April 21, 2023 08:44
@brb brb merged commit e8a8142 into master Apr 21, 2023
@tklauser tklauser deleted the pr/jibi/client-ip branch September 14, 2023 15:05
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

Successfully merging this pull request may close these issues.

2 participants