Closed AzulEterno closed 2 weeks ago
- the trailing slash: please correctly setup your reverse proxy https://docs.gitea.com/next/administration/reverse-proxies#nginx-with-a-sub-path
- see this Git oauth2 credential client doesn't work on "/{sub-path}/login/oauth/authorize“ #31974
Hmm , just saw "I definitely tried official reverse proxy settings, it does not work. I assure. It will pop js not found error." from email notification.
Not sure how it happens. What's your config?
Hmm , just saw "I definitely tried official reverse proxy settings, it does not work. I assure. It will pop js not found error." from email notification.
Not sure how it happens. What's your config?
It was pre-routed by the other nginx configs. Sorry I didn't check it carefully,
Description
Gitea subpath worked almost perfectly. But still has several bugs. First it's that you have to add a "/" at the end of reverse proxy egine url. That will cause some inconsistency. Second is /login/oauth cannot get correct result since default login url it's not subdirred like "/gitea/login/oauth". I tried to use 301 to redirect all /login/ to /gitea/login, it showed login succeed but never passed back to local program. Any idea how to fix it?
Gitea Version
1.12.2
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Offical version inside docker.
Database
PostgreSQL