HUB
Sign inSign up
velox logo

veloxproxy/velox

Sponsored OSS

By veloxproxy

•Updated 9 days ago

Ultra-fast, memory-safe HTTP/3 reverse proxy & L4/L7 load balancer in pure Rust (distroless, ~10MB)

Image
Networking
Security
Web servers
1

323

veloxproxy/velox repository overview

Velox Banner

⁠Velox — The Memory-Safe HTTP/3 Reverse Proxy & Load Balancer in Rust

Zero unsafe code. Zero OpenSSL. ~13 MB distroless image.

Velox brings together the raw speed of NGINX, the load-balancing precision of HAProxy, the zero-reload dynamic control plane of Envoy, and the developer simplicity of Caddy — built from the ground up in Rust to eliminate memory-safety CVEs and HTTP request smuggling.


⁠Why Teams Switch to Velox

CapabilityVeloxNGINX (OSS)HAProxyCaddy
Memory-Safe (#![forbid(unsafe_code)])Yes (Rust + rustls)No (C + OpenSSL)No (C + OpenSSL)Yes (Go GC)
Pre-Parser HTTP/1 Smuggling GuardYes (wire-level)PartialGoodGo net/http
HTTP/3 (QUIC) + HTTP/2 + HTTP/1.1Built-inExperimentalLimitedBuilt-in
Zero-Reload Dynamic Config & Admin APIFree (arc-swap)Paid (NGINX Plus)Runtime APIFree
Active H1/H2/TCP Health Checks + Outlier EjectionFreePaid (NGINX Plus)FreeBasic
Singleflight Cache + Compression + JWT + mTLSBuilt-inPartial / PaidNoPlugins
Distroless Non-Root ContainerYes (~13 MB)Alpine/DebianAlpine/DebianAlpine

⁠Quick Start

⁠1. Run Immediately
docker run -d --name velox \
  -p 8080:8080 \
  -p 8443:8443 \
  -p 8443:8443/udp \
  ritejmule2610/velox:latest
⁠2. Run with Your Own velox.toml
docker run -d --name velox \
  -p 80:8080 \
  -p 443:8443 \
  -p 443:8443/udp \
  -v $(pwd)/velox.toml:/etc/velox/velox.toml:ro \
  ritejmule2610/velox:latest
⁠3. Docker Compose Example
services:
  velox:
    image: ritejmule2610/velox:latest
    ports:
      - "80:8080"
      - "443:8443"
      - "443:8443/udp"
    volumes:
      - ./velox.toml:/etc/velox/velox.toml:ro
    restart: unless-stopped

⁠Key Features

  • Smuggling-Proof Wire Guard: Raw HTTP/1 bytes are scanned and validated before hyper parses them—rejecting CL+TE, TE.TE, obs-fold, bare LF, and NUL bytes before a single byte reaches your backend.
  • Edge HTTP/3 + Universal Fallback: Serves HTTP/3 (QUIC over UDP), HTTP/2, and HTTP/1.1 with automatic Alt-Svc headers, and pools HTTP/1.1, h2c, https:// (with mTLS), or Unix sockets to backends.
  • Enterprise Zero-Trust Edge: Inbound client mTLS, edge JWT verification (HS256/RS256/ES256 + JWKS), CIDR IP allow/deny ACLs, GCRA rate limiting, PROXY protocol v1/v2, and edge CORS.
  • Smart Caching & Compression: Sharded in-memory LRU cache with singleflight stampede protection and stale-while-revalidate, plus off-loop streaming zstd, brotli, and gzip.
  • Built-In Observability: Prometheus /metrics, W3C traceparent propagation, structured JSON access logs, and velox doctor pre-flight diagnostics.

⁠Supported Architectures & Tags

  • Architectures: linux/amd64, linux/arm64
  • Tags: latest, 0.1.0
  • Runtime: gcr.io/distroless/cc-debian12:nonroot (uid 65532, no shell)

⁠Source & License

Tag summary
Recent tags
Content type
Image
Digest
sha256:6ffaba470…
Size
5.3 MB
Last updated
9 days ago
docker pull veloxproxy/velox:latest