diff --git a/setup/config/config_global.go b/setup/config/config_global.go index fe34b5cac..ff8352485 100644 --- a/setup/config/config_global.go +++ b/setup/config/config_global.go @@ -16,7 +16,7 @@ type Global struct { ServerName gomatrixserverlib.ServerName `yaml:"server_name"` // The secondary server names, used for virtual hosting. - SecondaryServerNames []gomatrixserverlib.ServerName `yaml:"-"` + SecondaryServerNames []gomatrixserverlib.ServerName `yaml:"secondary_server_names"` // Path to the private key which will be used to sign requests and events. PrivateKeyPath Path `yaml:"private_key"`