dendrite/setup/config/config_pushserver.go
Tommie Gannert 99bd04c325 Add the push_server.disable_tls_validation config option.
Sytest starts a push gateway using HTTPS and a self-signed
certificate. Synapse allows insecure communication with a similar
flag.

The name matches the existing federation_sender.disable_tls_validation.
2021-12-01 11:46:35 +01:00

17 lines
405 B
Go

package config
type PushServer struct {
Matrix *Global `yaml:"-"`
// DisableTLSValidation disables the validation of X.509 TLS certs
// on remote Push gateway endpoints. This is not recommended in
// production!
DisableTLSValidation bool `yaml:"disable_tls_validation"`
}
func (c *PushServer) Defaults(generate bool) {
}
func (c *PushServer) Verify(configErrs *ConfigErrors, isMonolith bool) {
}