diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-12-18 23:14:32 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-12-18 23:14:32 +0100 |
commit | f5cd5ebd7bd8582acd5805021c6718869f8519b1 (patch) | |
tree | 74f26ee0843094d3e4e9a1a63accc66127a5a4be | |
parent | Update README to use `bind_addresses` (diff) | |
download | synapse-f5cd5ebd7bd8582acd5805021c6718869f8519b1.tar.xz |
Add IPv6 comment to default config
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r-- | synapse/config/server.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 1b9e10b527..5e6b2a68a7 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -159,6 +159,10 @@ class ServerConfig(Config): # This will listen on all IPv4 addresses by default. bind_addresses: - '0.0.0.0' + # Uncomment to listen on all IPv6 interfaces + # N.B: On at least Linux this will also listen on all IPv4 + # addresses, so you will need to comment out the line above. + # - '::' # This is a 'http' listener, allows us to specify 'resources'. type: http |