mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-11-12 17:12:37 -05:00
Add option to not bind to HTTPS port. This is useful if running behind an ssl load balancer
This commit is contained in:
parent
ad6eacb3e9
commit
af7ae048f8
3 changed files with 8 additions and 2 deletions
|
|
@ -233,7 +233,10 @@ def setup():
|
|||
f.namespace['hs'] = hs
|
||||
reactor.listenTCP(config.manhole, f, interface='127.0.0.1')
|
||||
|
||||
hs.start_listening(config.bind_port, config.unsecure_port)
|
||||
bind_port = config.bind_port
|
||||
if config.no_tls:
|
||||
bind_port = None
|
||||
hs.start_listening(bind_port, config.unsecure_port)
|
||||
|
||||
if config.daemonize:
|
||||
print config.pid_file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue