Add support for reverse proxy path prefixes. #111

Closed
opened 2026-10-05 01:42:11 +02:00 by adam · 1 comment
Owner

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'.

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'. <!-- github-sync-id:4179385159 -->
adam closed this issue 2026-10-05 01:42:11 +02:00
Author
Owner

@morgan55555 give this PR a try ghcr.io/raylabshq/gitea-mirror:pr-257

@morgan55555 give this PR a try `ghcr.io/raylabshq/gitea-mirror:pr-257` <!-- github-comment-id:4174311508 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#111