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

Use x-real-ip instead of x-forwarded-for in strfry #147

Open
dcadenas opened this issue Jan 29, 2025 · 0 comments
Open

Use x-real-ip instead of x-forwarded-for in strfry #147

dcadenas opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
infra Work to be done on servers

Comments

@dcadenas
Copy link
Contributor

We are having a strfry warning related to x-forwarded-for. According to this strfry comment, we should instead use x-real-ip.

Let's think about how to pass this from Traefik, my understanding is that traefik automaticall passes x-forwarded-for but my initial searches didn't give a good response about x-real-ip so we may need to work on a custom traefik middleware to parse the items in the x-forwarded-for

@dcadenas dcadenas converted this from a draft issue Jan 29, 2025
@dcadenas dcadenas marked this as a duplicate of #146 Jan 29, 2025
@dcadenas dcadenas self-assigned this Feb 5, 2025
@mplorentz mplorentz added the infra Work to be done on servers label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Work to be done on servers
Projects
None yet
Development

No branches or pull requests

2 participants