-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
1.18.0: "Unexpected proxy header" with nginx reverse proxy #22277
Labels
Comments
tjblackheart
changed the title
1.180.0: broken UI: "Unexpected proxy header" with nginx reverse proxy
1.18.0: "Unexpected proxy header" with nginx reverse proxy
Dec 30, 2022
Do not enable the PROXY PROTOCOL on Gitea side. ps: I have warned that the PROXY PROTOCOL config is quite messy and will mislead users 🤷🏻♂️ |
Confirmed: Disabling USE_PROXY_PROTOCOL makes things work again. Thank you. This should really be communicated somewhere because it is not mentioned in the update notes and the same config worked fine with 1.17.4. Thanks, closing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Hello!
Running gitea via docker-compose behind a reverse proxy (nginx). After updating the docker image to 1.18.0 the web ui refuses to work (502) on browser access:
These byte slices translate to
The proxy header config:
It makes no difference if I disable them.
The nginx config:
Gitea Version
1.18.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Ubuntu Jammy
How are you running Gitea?
v1.18.0 with docker-compose
Database
SQLite
The text was updated successfully, but these errors were encountered: