0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-05 14:18:55 +01:00
synapse/synapse/push
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
..
__init__.py Remove code that's now been obsoleted or moved elsewhere 2016-04-07 16:31:38 +01:00
action_generator.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
baserules.py Explicitly check that tombstone is a state event before notifying. 2019-07-31 16:32:03 +01:00
bulk_push_rule_evaluator.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
clientformat.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
emailpusher.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
httppusher.py Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
mailer.py Port to use state storage 2019-10-30 14:46:54 +00:00
presentable_names.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
push_rule_evaluator.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
push_tools.py Port to use state storage 2019-10-30 14:46:54 +00:00
pusher.py Allow Synapse to send registration emails + choose Synapse or an external server to handle 3pid validation (#5987) 2019-09-06 11:35:28 +01:00
pusherpool.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
rulekinds.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00