diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-08-21 09:54:03 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-08-28 15:59:54 +0100 |
commit | 2f04eb27978664df934974ef5faf34b8c64c4b28 (patch) | |
tree | f8b7397cd7fc3c7334a3dcaeaf84d456249eb3a7 /synapse_topology/webui | |
parent | Tweak margin (diff) | |
download | synapse-2f04eb27978664df934974ef5faf34b8c64c4b28.tar.xz |
Fix port settings
Diffstat (limited to 'synapse_topology/webui')
-rw-r--r-- | synapse_topology/webui/src/js/utils/yaml.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse_topology/webui/src/js/utils/yaml.js b/synapse_topology/webui/src/js/utils/yaml.js index f99c1fa2f9..2c364c34db 100644 --- a/synapse_topology/webui/src/js/utils/yaml.js +++ b/synapse_topology/webui/src/js/utils/yaml.js @@ -5,11 +5,11 @@ import { CONFIG_LOCK } from '../api/constants'; const listeners = config => { const listeners = []; - if (config.tls == TLS_TYPES.TLS) { + if (config.tls == TLS_TYPES.REVERSE_PROXY) { listeners.push({ port: config.synapseFederationPort, - tls: true, + tls: false, bind_addresses: ['::1', '127.0.0.1'], type: "http", x_forwarded: true, @@ -38,11 +38,11 @@ const listeners = config => { listeners[0].resources[0].names.push("client"); - } else if (config.tls == TLS_TYPES.TLS) { + } else if (config.tls == TLS_TYPES.REVERSE_PROXY) { listeners.push({ port: config.synapseClientPort, - tls: true, + tls: false, bind_addresses: ['::1', '127.0.0.1'], type: "http", x_forwarded: true, |