Allow multiple HTTP proxies depending on remote URL #12120

Closed
opened 2025-11-02 09:58:58 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @eNBeWe on GitHub (Nov 29, 2023).

Feature Description

For an internal Gitea Instance I need to configure multiple proxies to mirror Git-Repositories.

I. e.:

  • To mirror repositories from github.com use Proxy A
  • To mirror repositories from someinternal.network.local use Proxy B

I know that Gitea uses the system proxy by default, which solves one of the requirements, but not both at the same time.
Git allows to configure the proxy "by url".

Screenshots

No response

Originally created by @eNBeWe on GitHub (Nov 29, 2023). ### Feature Description For an internal Gitea Instance I need to configure multiple proxies to mirror Git-Repositories. I. e.: * To mirror repositories from github.com use Proxy A * To mirror repositories from someinternal.network.local use Proxy B I know that Gitea uses the system proxy by default, which solves one of the requirements, but not both at the same time. Git allows to configure the proxy "by url". ### Screenshots _No response_
GiteaMirror added the issue/needs-feedback label 2025-11-02 09:58:58 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Nov 29, 2023):

I guess you need a more smart proxy server/delegate to apply complex rules.

@wxiaoguang commented on GitHub (Nov 29, 2023): I guess you need a more smart proxy server/delegate to apply complex rules.
Author
Owner

@wxiaoguang commented on GitHub (Dec 6, 2023):

In a complex environment, the proxy rules could also be quite complex. IMO Gitea should focus on its core feature, but not become a full-featured proxy client.

@wxiaoguang commented on GitHub (Dec 6, 2023): In a complex environment, the proxy rules could also be quite complex. IMO Gitea should focus on its core feature, but not become a full-featured proxy client.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12120