MatrixSynapse/tests
Richard van der Hoff 1cb84c6486
Support for routing outbound HTTP requests via a proxy (#6239)
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.
2019-11-01 14:07:44 +00:00
..
api
app
appservice
config
crypto
events
federation
handlers
http Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
logging
push Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
replication
rest
scripts
server_notices
state
storage
test_utils
util
__init__.py
server.py Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
test_distributor.py
test_event_auth.py
test_federation.py
test_mau.py
test_metrics.py
test_preview.py
test_server.py
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py
utils.py