mirror of
https://github.com/element-hq/synapse
synced 2024-10-03 02:42:40 +00:00
Don't enable client_addr by default
This commit is contained in:
parent
ce38f09ac3
commit
97b494a655
1 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ class ServerConfig(Config):
|
|||
|
||||
client_addr = config.get("client_addr")
|
||||
if not client_addr:
|
||||
client_addr = content_addr
|
||||
client_addr = self.content_addr
|
||||
self.client_addr = client_addr
|
||||
|
||||
def default_config(self, server_name, **kwargs):
|
||||
|
@ -146,7 +146,7 @@ class ServerConfig(Config):
|
|||
web_client: True
|
||||
|
||||
# URL clients can use to talk to the server.
|
||||
client_addr: "https://%(server_name)s:%(bind_port)s"
|
||||
# client_addr: "https://%(server_name)s:%(bind_port)s"
|
||||
|
||||
# Set the soft limit on the number of file descriptors synapse can use
|
||||
# Zero is used to indicate synapse should set the soft limit to the
|
||||
|
|
Loading…
Reference in a new issue