Skip to main content

Reverse Proxy

Aegis provides a full-featured reverse proxy engine as a drop-in replacement for Nginx Proxy Manager. All proxy configuration is managed through the admin UI and stored in SQLite. Image

Capabilities


Load Balancing Policies

Each policy is configured per proxy host. Unhealthy upstreams (as determined by health checks) are automatically removed from the rotation.

SSL/TLS

Aegis supports two certificate sources:

Let’s Encrypt (Automatic)

  • Uses ACME HTTP-01 challenge via golang.org/x/crypto/acme/autocert
  • Certificates are requested and renewed automatically
  • Requires port 80 to be reachable for challenge validation

Custom Certificates

  • Upload PEM-encoded certificate and private key through the admin UI
  • Private keys are encrypted at rest using AES-256-GCM
  • Encryption key can be auto-generated or provided via AEGIS_SSL_KEY

HSTS Configuration

Per-host HSTS headers with configurable:
  • max-age duration
  • includeSubDomains directive
  • preload directive

Proxy Host Configuration

Each proxy host supports the following settings:

Health Checks

Active health checks probe each upstream backend at a configurable interval:
  • Path — HTTP path to check (e.g., /health)
  • Interval — Time between checks
  • Behavior — Unhealthy upstreams are removed from the load balancer rotation and re-added when they recover