diff --git a/setup/config/config_global.go b/setup/config/config_global.go index 825772827..6cdf69091 100644 --- a/setup/config/config_global.go +++ b/setup/config/config_global.go @@ -15,7 +15,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"`