The synapse-proxy is using https

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-07-27 22:39:41 +02:00
parent fabd23d92d
commit c6923afe7a
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -211,8 +211,8 @@ EOF
template { template {
data = <<EOF data = <<EOF
{{ with secret "kv/data/cluster/matrix/synapse" }} {{ with secret "kv/data/cluster/matrix/synapse" }}
http_proxy=http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/ http_proxy=https://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/ https_proxy=https://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
{{ end }} {{ end }}
EOF EOF
destination = "/secrets/env" destination = "/secrets/env"
@ -368,8 +368,8 @@ EOF
template { template {
data = <<EOF data = <<EOF
{{ with secret "kv/data/cluster/matrix/synapse" }} {{ with secret "kv/data/cluster/matrix/synapse" }}
http_proxy=http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/ http_proxy=https://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/ https_proxy=https://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
{{ end }} {{ end }}
EOF EOF
destination = "/secrets/env" destination = "/secrets/env"
@ -525,8 +525,8 @@ EOF
template { template {
data = <<EOF data = <<EOF
{{ with secret "kv/data/cluster/matrix/synapse" }} {{ with secret "kv/data/cluster/matrix/synapse" }}
http_proxy=http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/ http_proxy=https://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/ https_proxy=https://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
{{ end }} {{ end }}
EOF EOF
destination = "/secrets/env" destination = "/secrets/env"
@ -682,8 +682,8 @@ EOF
template { template {
data = <<EOF data = <<EOF
{{ with secret "kv/data/cluster/matrix/synapse" }} {{ with secret "kv/data/cluster/matrix/synapse" }}
http_proxy=http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/ http_proxy=https://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/ https_proxy=https://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
{{ end }} {{ end }}
EOF EOF
destination = "/secrets/env" destination = "/secrets/env"
@ -925,8 +925,8 @@ EOF
template { template {
data = <<EOF data = <<EOF
{{ with secret "kv/data/cluster/matrix/synapse" }} {{ with secret "kv/data/cluster/matrix/synapse" }}
http_proxy=http://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/ http_proxy=https://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/ https_proxy=https://synapse:{{ .Data.data.proxy_pass }}@synapse-proxy.in.redalder.org:8883/
{{ end }} {{ end }}
EOF EOF
destination = "/secrets/env" destination = "/secrets/env"