mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
matrix-synapse: Use '::' as the IPv6 bind address
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
b2c6112990
commit
bacc2bcb21
@ -56,7 +56,7 @@ def subcommand_post_install(_):
|
||||
|
||||
for listener in config['listeners']:
|
||||
if listener['port'] == 8448:
|
||||
listener['bind_addresses'] = ['::1', '0.0.0.0']
|
||||
listener['bind_addresses'] = ['::', '0.0.0.0']
|
||||
listener.pop('bind_address', None)
|
||||
|
||||
# Setup ldap parameters
|
||||
@ -86,9 +86,8 @@ def subcommand_post_install(_):
|
||||
def subcommand_setup(arguments):
|
||||
"""Configure the domain name for matrix-synapse package."""
|
||||
domain_name = arguments.domain_name
|
||||
action_utils.dpkg_reconfigure('matrix-synapse', {
|
||||
'server-name': domain_name
|
||||
})
|
||||
action_utils.dpkg_reconfigure('matrix-synapse',
|
||||
{'server-name': domain_name})
|
||||
subcommand_enable(arguments)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user