Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.draskencloud.com/llms.txt

Use this file to discover all available pages before exploring further.

What is Nexus?

Nexus is a self-hosted API gateway written in Rust. It sits in front of your backend services and handles:
  • Routing — forward requests to backend services by app slug or path
  • Authentication — API keys, JWT/SSO, and Basic auth out of the box
  • Rate limiting — per-app or per-IP with fixed window, sliding window, or token bucket algorithms
  • CORS — configurable per app or endpoint
  • Circuit breaking — automatic failure detection and recovery
  • Metrics — Prometheus-compatible metrics on the management port
  • Audit logging — structured audit trail for every request

Ports

PortPurpose
8080Proxy — public-facing, forwards requests to backends
9090Management API — configure apps, view metrics, health check

Architecture

Client → :8080 (Proxy) → Backend Services
Admin  → :9090 (Management API) → Gateway Config
The proxy and management API run as separate servers in the same process. The management port should never be exposed publicly.

Next Steps

Quickstart

Run Nexus locally in minutes

Deploy on Kubernetes

Deploy with Helm on k3s or any Kubernetes cluster