diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-22 12:30:13 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-22 12:30:13 +0200 |
commit | 1451273fa59d14070e525562ec466a21128fa671 (patch) | |
tree | c3c83240b995173d13702a198f32afab5ea7c2be /src/modules/mod.rs | |
parent | 9f4a1617fbd4d1f87a8bf6d882bdf739a08fb422 (diff) | |
download | gnix-1451273fa59d14070e525562ec466a21128fa671.tar gnix-1451273fa59d14070e525562ec466a21128fa671.tar.bz2 gnix-1451273fa59d14070e525562ec466a21128fa671.tar.zst |
headers module
Diffstat (limited to 'src/modules/mod.rs')
-rw-r--r-- | src/modules/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/mod.rs b/src/modules/mod.rs index d96c24b..2e08142 100644 --- a/src/modules/mod.rs +++ b/src/modules/mod.rs @@ -7,6 +7,7 @@ use error::ErrorKind; use file::FileKind; use files::FilesKind; use futures::Future; +use headers::HeadersKind; use hosts::HostsKind; use http_body_util::combinators::BoxBody; use hyper::{body::Incoming, Request, Response}; @@ -19,6 +20,7 @@ pub mod auth; pub mod error; pub mod file; pub mod files; +pub mod headers; pub mod hosts; pub mod proxy; @@ -34,6 +36,7 @@ pub static MODULES: &[&dyn NodeKind] = &[ &FileKind, &AccessLogKind, &ErrorKind, + &HeadersKind, ]; pub struct NodeContext { |