Skip to content

Conversation

@larsks
Copy link
Contributor

@larsks larsks commented Sep 30, 2025

Allow nom to use proxies configured via the HTTP_PROXY and HTTPS_PROXY
environment variables.

NB: When testing this feature, do not attempt to target localhost; net/http
explicitly will never proxy localhost 1. You can use
localhost.localdomain instead.

@guyfedwards
Copy link
Owner

@larsks could you add a section for this to the README.md with an example and the variables that are available, thanks

@guyfedwards
Copy link
Owner

nice one thanks

larsks added 2 commits October 1, 2025 17:46
Allow nom to use proxies configured via the HTTP_PROXY and HTTPS_PROXY
environment variables.

NB: When testing this feature, do not attempt to target `localhost`; net/http
explicitly will never proxy `localhost` [1]. You can use
`localhost.localdomain` instead.

[1]: golang/go#28866
@guyfedwards guyfedwards merged commit 188547f into guyfedwards:master Oct 1, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants