Skip to content

Add Proxy-Configuration for business and special environments #26

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

Open
ghost opened this issue Mar 9, 2022 · 0 comments
Open

Add Proxy-Configuration for business and special environments #26

ghost opened this issue Mar 9, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 9, 2022

Background:
As mentioned in this pull-request, this plugin would be much more powerful with an proxy configuration option. Foremost in business-environments.
I opened this issue so discussions can take place.

What we need:
We use proxies internally, so we need an option to configure this specific proxy for node-fetch

What to do?

  • Allow to set "proxyUrl" in the configuration file
  • Allow to use "PROXY_URL", "http_proxy", "https_proxy" in the environment vars
  • Pass configuration to node-fetch

Alternatives?

  • replace node-fetch with node-fetch-with-proxy which supports the HTTP_PROXY env-var

Our Solution:
We can deploy the plugin for our need internally but i wanted to share this feature with the world. We are not in need to see this feature coming officially, but it would be great.

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

0 participants