summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-22 14:41:31 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-28 15:59:54 +0100
commit4b72b03d00344cdc2b7064a2414468cbd2e8c4da (patch)
treeec03652813bef2faa5305392bab5319955df2e8e
parentMove args to generate_config (diff)
downloadsynapse-4b72b03d00344cdc2b7064a2414468cbd2e8c4da.tar.xz
Don't need to specify those
-rw-r--r--synapse_topology/webui/src/js/utils/yaml.js13
1 files changed, 3 insertions, 10 deletions
diff --git a/synapse_topology/webui/src/js/utils/yaml.js b/synapse_topology/webui/src/js/utils/yaml.js
index 972dcecf7f..f1e816cca2 100644
--- a/synapse_topology/webui/src/js/utils/yaml.js
+++ b/synapse_topology/webui/src/js/utils/yaml.js
@@ -101,16 +101,9 @@ const acme = config => {
     if (config.tls == TLS_TYPES.ACME) {
 
         return {
-            acme: {
-                url: "https://acme-v01.api.letsencrypt.org/directory",
-                port: 80,
-                bind_addresses: ['::', '0.0.0.0'],
-                reprovision_threshold: 30,
-                domain: config.delegationServerName ?
-                    config.delegationServerName :
-                    config.servername,
-                account_key_file: config.configDir + "/data/acme_account.key",
-            },
+            acme_domain: config.delegationServerName ?
+                config.delegationServerName :
+                config.servername,
         }
 
     } else {