Closed
Description
- Gitea version (or commit ref): v1.9.4
- Git version: 2.22.0
- Operating system: gitea/gitea on Docker on Ubuntu 18.04.3 LTS
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No (because its root matches the server root)
- Not relevant
- Log gist: https://gist.github.com/PeterNerlich/275d199733c38d2aee8a607b5d7bf84a
Description
I have set gitea up in docker behind a reverse proxy (Traefik). We are not given subdomains so we have to work with prefixes like /git/
. When trying to integrate drone into our setup, granting authorization to it fails. I think I traced it down to the "grant or cancel" form action url leading to /login/oauth/grant
instead of /git/login/oauth/grant
. Manipulating the HTML and clicking the button then worked.