diff options
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 4d47757..9473784 100644 --- a/src/config.rs +++ b/src/config.rs @@ -37,6 +37,8 @@ pub struct Config { pub private_key: [u8; 32], #[serde(default)] pub limits: Limits, + #[serde(default)] + pub source_ip_from_header: bool, pub handler: DynNode, #[serde(default)] pub disable_server_header: bool, |