Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4524 from matrix-org/erikj/fix_no_tls
Browse files Browse the repository at this point in the history
Fix bug where synapse fails to start if no_tls set
  • Loading branch information
erikjohnston committed Jan 30, 2019
2 parents a79034a + e87d7a4 commit 43c6fca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/4524.feature
@@ -0,0 +1 @@
Synapse will now reload TLS certificates from disk upon SIGHUP.
4 changes: 3 additions & 1 deletion synapse/app/homeserver.py
Expand Up @@ -95,7 +95,9 @@ def _listener_http(self, config, listener_config):
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"]:
Expand Down

0 comments on commit 43c6fca

Please sign in to comment.