request client host returns the reverse proxy ip, not client ip #3527
solo7773
started this conversation in
Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Type
Bug Report
Description
Apache/2.4.58 (Ubuntu)
fastAPI
gunicorn (version 25.1.0)
this returns
{'ip': '127.0.0.1', 'xffips': 'real ip'}this returns
{'ip': 'real ip', 'xffips': 'real ip'}others
FastAPI CLI version: 0.0.23
Running uvicorn 0.41.0 with CPython 3.12.12 on Linux
Steps to Reproduce (for bugs)
No response
Configuration
Logs / Error Output
No response
Gunicorn Version
gunicorn (version 25.1.0)
Python Version
Python 3.12.12
Worker Class
asgi (beta)
Operating System
Ubuntu 24.04.3 LTS
Additional Context
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions