summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-06 11:34:06 +0000
committerErik Johnston <erik@matrix.org>2015-03-06 11:34:06 +0000
commit3ce8540484a3cc29ce2970ebf6608b6fd3359931 (patch)
treef822a98ea71d21d477693dac7a3bd31f83d2f549 /synapse/config/server.py
parentMerge pull request #102 from matrix-org/randomize_stream_timeout (diff)
downloadsynapse-3ce8540484a3cc29ce2970ebf6608b6fd3359931.tar.xz
Don't look for an TLS private key if we have set --no-tls
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 4e4892d40b..b042d4eed9 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -30,7 +30,6 @@ class ServerConfig(Config):
         self.pid_file = self.abspath(args.pid_file)
         self.webclient = True
         self.manhole = args.manhole
-        self.no_tls = args.no_tls
         self.soft_file_limit = args.soft_file_limit
 
         if not args.content_addr:
@@ -76,8 +75,6 @@ class ServerConfig(Config):
         server_group.add_argument("--content-addr", default=None,
                                   help="The host and scheme to use for the "
                                   "content repository")
-        server_group.add_argument("--no-tls", action='store_true',
-                                  help="Don't bind to the https port.")
         server_group.add_argument("--soft-file-limit", type=int, default=0,
                                   help="Set the soft limit on the number of "
                                        "file descriptors synapse can use. "