mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
Make synapse use the altra proxy
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
3dd66e0a9b
commit
c76c746dce
|
@ -211,6 +211,8 @@ EOF
|
|||
template {
|
||||
data = <<EOF
|
||||
{{ with secret "kv/data/cluster/matrix/synapse" }}
|
||||
http_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
https_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
worker_name: "worker-client-{{ env "NOMAD_ALLOC_INDEX" }}"
|
||||
registration_shared_secret: "{{ .Data.data.registration_shared_secret }}"
|
||||
macaroon_secret_key: "{{ .Data.data.macaroon_secret_key }}"
|
||||
|
@ -357,6 +359,8 @@ EOF
|
|||
template {
|
||||
data = <<EOF
|
||||
{{ with secret "kv/data/cluster/matrix/synapse" }}
|
||||
http_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
https_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
worker_name: "worker-sync-{{ env "NOMAD_ALLOC_INDEX" }}"
|
||||
registration_shared_secret: "{{ .Data.data.registration_shared_secret }}"
|
||||
macaroon_secret_key: "{{ .Data.data.macaroon_secret_key }}"
|
||||
|
@ -503,6 +507,8 @@ EOF
|
|||
template {
|
||||
data = <<EOF
|
||||
{{ with secret "kv/data/cluster/matrix/synapse" }}
|
||||
http_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
https_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
worker_name: "worker-federation-receiver-{{ env "NOMAD_ALLOC_INDEX" }}"
|
||||
registration_shared_secret: "{{ .Data.data.registration_shared_secret }}"
|
||||
macaroon_secret_key: "{{ .Data.data.macaroon_secret_key }}"
|
||||
|
@ -649,6 +655,8 @@ EOF
|
|||
template {
|
||||
data = <<EOF
|
||||
{{ with secret "kv/data/cluster/matrix/synapse" }}
|
||||
http_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
https_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
worker_name: "worker-federation-sender-{{ env "NOMAD_ALLOC_INDEX" }}"
|
||||
registration_shared_secret: "{{ .Data.data.registration_shared_secret }}"
|
||||
macaroon_secret_key: "{{ .Data.data.macaroon_secret_key }}"
|
||||
|
@ -881,6 +889,8 @@ EOF
|
|||
template {
|
||||
data = <<EOF
|
||||
{{ with secret "kv/data/cluster/matrix/synapse" }}
|
||||
http_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
https_proxy: http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
|
||||
registration_shared_secret: "{{ .Data.data.registration_shared_secret }}"
|
||||
macaroon_secret_key: "{{ .Data.data.macaroon_secret_key }}"
|
||||
form_secret: "{{ .Data.data.form_secret }}"
|
||||
|
|
Loading…
Reference in a new issue