Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose proxy support within GitProxy itself for air gapped environments #759

Open
coopernetes opened this issue Oct 25, 2024 · 0 comments
Open
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@coopernetes
Copy link
Contributor

Is your feature request related to a problem? Please describe.
It's very common in organizations to have web proxies configured for developer machines for security. Currently, GitProxy itself does not expose a way to enable "proxying the proxy" - that is, when GitProxy forwards requests to the upstream destinations, it presumes direct Internet access with no ability to hook in http_proxy settings.

It is supported in the middleware by overriding the agent property in the reqOpt via the proxyReqOptDecorator function. See villadora/express-http-proxy#337 (comment) for details.

Describe the solution you'd like
A GitProxy user should be able to specify the appropriate HTTP proxy agent options via configuration to enable the git server to connect to a destination via an external proxy.

Describe alternatives you've considered
There are no other viable alternatives with the current middleware in use. The current design presumes that the GitProxy server itself has direct network access to upstream locations (https://github.com). For some organizations, this may not be compatible with their network security.

Additional context
This was reported by a user getting started with the project so it's best to include it in our introductory documentation.

@coopernetes coopernetes added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant