mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-29 17:51:56 -06:00
Inline signing identities
This commit is contained in:
parent
510f84847f
commit
7026f5b572
|
@ -14,7 +14,7 @@ import (
|
|||
type Global struct {
|
||||
// Signing identity contains the server name, private key and key ID of
|
||||
// the deployment.
|
||||
gomatrixserverlib.SigningIdentity
|
||||
gomatrixserverlib.SigningIdentity `yaml:"inline"`
|
||||
|
||||
// The secondary server names, used for virtual hosting.
|
||||
VirtualHosts []*VirtualHost `yaml:"virtual_hosts"`
|
||||
|
@ -189,7 +189,7 @@ func (c *Global) SigningIdentities() []*gomatrixserverlib.SigningIdentity {
|
|||
type VirtualHost struct {
|
||||
// Signing identity contains the server name, private key and key ID of
|
||||
// the virtual host.
|
||||
gomatrixserverlib.SigningIdentity
|
||||
gomatrixserverlib.SigningIdentity `yaml:"inline"`
|
||||
|
||||
// Path to the private key. If not specified, the default global private key
|
||||
// will be used instead.
|
||||
|
|
Loading…
Reference in a new issue