Skip to content

Commit 9a04621

Browse files
committed
cleanup
1 parent 304c99b commit 9a04621

3 files changed

Lines changed: 134 additions & 137 deletions

File tree

src/config.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ pub struct Config {
5959

6060
#[arg(long, env = "DEFGUARD_GRPC_BIND_ADDRESS")]
6161
pub grpc_bind_address: Option<IpAddr>,
62+
63+
// TODO: On different platforms this may be different
64+
#[arg(
65+
long,
66+
env = "DEFGUARD_PROXY_CERT_DIR",
67+
default_value = "/etc/defguard/certs"
68+
)]
69+
pub cert_dir: PathBuf,
6270
}
6371

6472
#[derive(thiserror::Error, Debug)]

0 commit comments

Comments
 (0)