Recipes/🌐 Networking/Reverse Proxy
🌐

Reverse Proxy

advanced

nginx alternative - Load balancing and TLS termination

nginx alternatifi - Yuk dengeleme ve TLS sonlandirma

Estimated Time
⏱️ 2-4 months
Essential Crates
📦 3

Tags

proxyload-balancingtlsnetworking

Required Crates

Essential

hyper
HTTP client/server

HTTP istemci/sunucu

crates.io →
hyper = { version = "1", features = ["full"] }
rustls
TLS implementation

TLS uygulamasi

crates.io →
rustls = "0.23"
tokio
Async runtime

Async runtime

crates.io →
tokio = { version = "1", features = ["full"] }

Starter Template

Copy this Cargo.toml to get started:

[package]
name = "my-reverse-proxy"
version = "0.1.0"
edition = "2021"

[dependencies]
hyper = { version = "1", features = ["full"] }
rustls = "0.23"
tokio = { version = "1", features = ["full"] }
thiserror = "1"
tracing = "0.1"

Related Patterns

Learn these patterns to build this project effectively:

Other Networking Projects