pub enum TlsMode {
None,
SelfSigned,
Custom {
cert_path: String,
key_path: String,
},
Acme {
email: String,
cache_dir: Option<PathBuf>,
},
}Expand description
TLS mode for the proxy.
Variants§
None
No TLS (HTTP only).
SelfSigned
Auto-generated self-signed certificate.
Custom
User-provided certificate and key files.
Acme
ACME/Let’s Encrypt via certbot.
The proxy serves HTTP-01 challenges on port 80. Certificates are
provisioned via orca certs provision <domain> (which calls certbot)
and cached in cache_dir.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlsMode
impl RefUnwindSafe for TlsMode
impl Send for TlsMode
impl Sync for TlsMode
impl Unpin for TlsMode
impl UnsafeUnpin for TlsMode
impl UnwindSafe for TlsMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more