Add posibility to serve HTTPS/TLS connection

This commit is contained in:
Evgeniy Kulikov 2020-07-13 18:50:11 +03:00
parent b9c4156e5b
commit c38c4ca5db
4 changed files with 82 additions and 7 deletions

View file

@ -55,6 +55,10 @@ const ( // settings
cfgKeepaliveTimeout = "keepalive.timeout"
cfgKeepalivePermitWithoutStream = "keepalive.permit_without_stream"
// HTTPS/TLS:
cfgTLSKeyFile = "tls.key_file"
cfgTLSCertFile = "tls.cert_file"
// Timeouts
cfgConnectionTTL = "con_ttl"
cfgConnectTimeout = "connect_timeout"