Closed
Description
- Gogs version (or commit ref): v0.9.97
- Operating system: Debian
- Database (use
[x]
):- PostgreSQL
- MySQL
- SQLite
- Not relevant
- Can you reproduce the bug at https://try.gogs.io:
- Yes (provide example URL)
- No (because it is configured differently)
- Not relevant
- Log gist: not relevant
Description
I have installed Gogs in a subdirectory and set ROOT_URL
to the new value (assume it is set to https://example.com/mysubdir
here).
So now here is how the page for creating a new file with the web editor looks:
In the console I can see that Gogs tries to load the avatars from https://example.com/mysubdir/mysubdir/avatars/xx
instead of https://example.com/mysubdir/avatars/xx
.
Note that the avatar in the upper right is however loaded correctly.
Gogs is running behind nginx as a reverse proxy.