Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Support for http proxies via http_proxy / HTTPS_PROXY env vars #6238

Closed
wants to merge 3 commits into from

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Oct 23, 2019

This PR implements support for routing outbound HTTP requests via a proxy.

The http_proxy and HTTPS_PROXY env vars can be set to a host[:port] value which should point to a proxy.

The address of the proxy should be excluded from IP blacklists such as the url_preview_ip_range_blacklist.

The proxy will then be used for

  • push
  • url previews
  • phone-home stats
  • recaptcha validation
  • CAS auth validation

It will not be used for:

  • Application Services
  • Identity servers
  • Outbound federation
  • In worker configurations, connections from workers to masters

Fixes #4198.

@richvdh richvdh closed this Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant