1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-05 07:26:52 +00:00
synapse/docker/conf-workers
Eric Eastwood 12dc6b102f
Add support to proxy outbound requests from Synapse in tests (#18158)
Adds new environment variables that can be used with the Docker image
(`SYNAPSE_HTTP_PROXY`/`SYNAPSE_HTTPS_PROXY`/`SYNAPSE_NO_PROXY`)

Useful for things like the [Secure Border
Gateway](https://element.io/server-suite/secure-border-gateways)


### Why is this necessary?

You can already configure the `HTTP_PROXY`/`HTTPS_PROXY` environment
variables to proxy outbound requests but setting this globally in the
Docker image affects all processes which isn't always desirable or
workable in the case where the proxy is running in the Docker image
itself (because the Debian packages will fail to download because the
proxy isn't up and running yet) . Adding Synapse specific environment
variables
(`SYNAPSE_HTTP_PROXY`/`SYNAPSE_HTTPS_PROXY`/`SYNAPSE_NO_PROXY`) makes
things much more targetable.
2025-02-17 10:23:04 -06:00
..
healthcheck.sh.j2 Create healthcheck script for synapse-workers container (#11429) 2021-11-26 14:05:20 +00:00
nginx.conf.j2 Update reverse proxy docs with what we've learned from #17986 (#17994) 2024-12-19 14:00:50 +00:00
shared.yaml.j2 Unix Sockets for HTTP Replication (#15708) 2023-07-11 13:08:06 -05:00
supervisord.conf.j2 Unix Sockets for HTTP Replication (#15708) 2023-07-11 13:08:06 -05:00
synapse.supervisord.conf.j2 Add support to proxy outbound requests from Synapse in tests (#18158) 2025-02-17 10:23:04 -06:00
worker.yaml.j2 Unix Sockets for HTTP Replication (#15708) 2023-07-11 13:08:06 -05:00