Added new config fields to readme

This commit is contained in:
Andrey Meshkov
2019-02-21 17:48:18 +03:00
parent 251beb24d3
commit 37431735fd
2 changed files with 10 additions and 2 deletions

View File

@@ -72,8 +72,8 @@ type FilteringConfig struct {
type TLSConfig struct {
TLSListenAddr *net.TCPAddr `yaml:"-" json:"-"`
CertificateChain string `yaml:"certificate_chain" json:"certificate_chain"`
PrivateKey string `yaml:"private_key" json:"private_key"`
CertificateChain string `yaml:"certificate_chain" json:"certificate_chain"` // PEM-encoded certificates chain
PrivateKey string `yaml:"private_key" json:"private_key"` // PEM-encoded private key
}
// ServerConfig represents server configuration.