Add example on TLS configuration

Also, we've muted dead_code warning froms the compiler, temporarily.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
next
Sayan Nandan 4 years ago
parent 25d211d0a2
commit 61daf6c2e2
No known key found for this signature in database
GPG Key ID: C31EFD7DDA12AEE0

@ -0,0 +1,16 @@
[server]
host = "127.0.0.1"
port = 2003
noart = false
[ssl]
key = "/path/to/keyfile.pem"
chain = "/path/to/chain.pem"
[bgsave]
enabled = true
every = 120
[snapshot]
every = 3600
atmost = 4

@ -19,12 +19,12 @@
*
*/
#![allow(dead_code)] // TODO: Don't keep clippy quiet!
use super::deserializer;
use super::responses;
use super::IoResult;
use super::ParseResult;
use super::QueryResult;
#[allow(dead_code)] // TODO: Don't keep clippy quiet!
use crate::dbnet::Terminator;
use crate::resp::Writable;
use crate::CoreDB;

Loading…
Cancel
Save