mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-30 02:03:10 -06:00
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.
17 lines
405 B
Go
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) {
|
|
}
|