mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-24 00:44:08 -05:00
[GH-ISSUE #256] Add support for reverse proxy path prefixes. #1729
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @morgan55555 on GitHub (Mar 31, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/256
Now all the paths is started with "/" (absolute paths), so it's too hard to make working path prefix like 'git.myhost.com/mirror'.
One solution is adding BASE_URL environment variable for changing app base path.
Alternative solution is to making all URLs relative, like './path'.
@arunavo4 commented on GitHub (Apr 2, 2026):
@morgan55555 give this PR a try
ghcr.io/raylabshq/gitea-mirror:pr-257