summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-21 10:51:13 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-28 15:59:54 +0100
commit438d7fa75ae03f9aab27aee0e0ae968953053080 (patch)
treeb1f524eb9daff372a2a6e9376e88c46d5e84a499
parentFix port settings (diff)
downloadsynapse-438d7fa75ae03f9aab27aee0e0ae968953053080.tar.xz
Fix config tls path bug
-rw-r--r--synapse_topology/webui/src/js/utils/yaml.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse_topology/webui/src/js/utils/yaml.js b/synapse_topology/webui/src/js/utils/yaml.js
index 2c364c34db..5d1a79ccd4 100644
--- a/synapse_topology/webui/src/js/utils/yaml.js
+++ b/synapse_topology/webui/src/js/utils/yaml.js
@@ -79,13 +79,13 @@ const tlsPaths = config => {
             tls_private_key_path: config.tlsCertKeyPath,
         }
 
-    } else if (config.reverser_proxy == REVERSE_PROXY_TYPES.ACME) {
+    } else if (config.reverseProxy == REVERSE_PROXY_TYPES.ACME) {
 
         return {
             tls_certificate_path:
-                config.configDir + "/" + config.server_name + ".tls.cert",
+                config.configDir + "/" + config.servername + ".tls.cert",
             tls_private_key_path:
-                config.configDir + "/" + config.server_name + ".tls.key",
+                config.configDir + "/" + config.servername + ".tls.key",
         }
 
     } else {