logger.Fatal("SSL configuration invalid, specify both socket.ssl_certificate and socket.ssl_private_key",zap.String("param","socket.ssl_certificate"))
@@ -660,6 +671,8 @@ type SocketConfig struct {
OutgoingQueueSizeint`yaml:"outgoing_queue_size" json:"outgoing_queue_size" usage:"The maximum number of messages waiting to be sent to the client. If this is exceeded the client is considered too slow and will disconnect. Used when processing real-time connections."`
SSLCertificatestring`yaml:"ssl_certificate" json:"ssl_certificate" usage:"Path to certificate file if you want the server to use SSL directly. Must also supply ssl_private_key. NOT recommended for production use."`
SSLPrivateKeystring`yaml:"ssl_private_key" json:"ssl_private_key" usage:"Path to private key file if you want the server to use SSL directly. Must also supply ssl_certificate. NOT recommended for production use."`
ResponseHeaders[]string`yaml:"response_headers" json:"response_headers" usage:"Additional headers to send to clients with every response. Values here are only used if the response would not otherwise contain a value for the specified headers."`
Headersmap[string]string`yaml:"-" json:"-"`// Created by parsing ResponseHeaders above, not set from input args directly.
CertPEMBlock[]byte`yaml:"-" json:"-"`// Created by fully reading the file contents of SSLCertificate, not set from input args directly.
KeyPEMBlock[]byte`yaml:"-" json:"-"`// Created by fully reading the file contents of SSLPrivateKey, not set from input args directly.
TLSCert[]tls.Certificate`yaml:"-" json:"-"`// Created by processing CertPEMBlock and KeyPEMBlock, not set from input args directly.