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