Struct rouille::proxy::ProxyConfig [−][src]
Expand description
Configuration for the reverse proxy.
Fields
addr: A
The address to connect to. For example example.com:80
.
replace_host: Option<Cow<'static, str>>
If Some
, the Host
header will be replaced with this value.
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for ProxyConfig<A> where
A: RefUnwindSafe,
impl<A> Send for ProxyConfig<A> where
A: Send,
impl<A> Sync for ProxyConfig<A> where
A: Sync,
impl<A> Unpin for ProxyConfig<A> where
A: Unpin,
impl<A> UnwindSafe for ProxyConfig<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more