matrix-synapse: default server_name to hostname

This commit is contained in:
David McFarland 2017-11-04 10:16:31 -03:00
parent a4b7de74a5
commit fbba0d0ee5
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ in {
server_name = mkOption { server_name = mkOption {
type = types.str; type = types.str;
example = "example.com"; example = "example.com";
default = config.networking.hostName;
description = '' description = ''
The domain name of the server, with optional explicit port. The domain name of the server, with optional explicit port.
This is used by remote servers to connect to this server, This is used by remote servers to connect to this server,