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

Add HTTP proxy functionality #37

Closed
k3d3 opened this issue Jul 22, 2021 · 1 comment
Closed

Add HTTP proxy functionality #37

k3d3 opened this issue Jul 22, 2021 · 1 comment

Comments

@k3d3
Copy link
Member

k3d3 commented Jul 22, 2021

Add functionality that lets Panamax run through a web proxy. Hopefully this shouldn't be too difficult, as reqwest is heavily used and has built-in proxy functionality.

The proxy should be settable via the HTTP_PROXY environment variable, or an optional http_proxy option in mirror.toml, under the [mirror] section.

@k3d3
Copy link
Member Author

k3d3 commented Jul 22, 2021

Never mind. It appears Reqwest uses system proxies by default anyways, which means HTTP_PROXY and HTTPS_PROXY environment variables will be respected.

k3d3 added a commit that referenced this issue Sep 8, 2021
@k3d3 k3d3 closed this as completed Sep 8, 2021
k3d3 added a commit that referenced this issue Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant