Skip to content
Snippets Groups Projects
Unverified Commit 43c6fca9 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Merge pull request #4524 from matrix-org/erikj/fix_no_tls

Fix bug where synapse fails to start if no_tls set
parents a79034ae e87d7a4b
No related merge requests found
Synapse will now reload TLS certificates from disk upon SIGHUP.
......@@ -95,7 +95,9 @@ class SynapseHomeServer(HomeServer):
site_tag = listener_config.get("tag", port)
if tls and config.no_tls:
return
raise ConfigError(
"Listener on port %i has TLS enabled, but no_tls is set" % (port,),
)
resources = {}
for res in listener_config["resources"]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment