We have moved!

We have moved to new home. For most up-to-date information , please visit aralez.rs

What is Aralez?

Aralez = ิฑึ€ีกีฌีฅีฆ โ€” Named after the legendary Armenian guardian spirit, a winged dog-like creature that descends upon fallen heroes to lick their wounds and resurrect them.

Built on Rust, on top of Cloudflare’s Pingora engine, Aralez delivers world-class performance, security and scalability โ€” right out of the box.

Support the project: Buy Me A Coffee


Key Features

๐Ÿ“ก

Remote Config API

Upstreams can be updated live via API โ€” no restart required.

๐Ÿ”„

Dynamic Config Reloads

Upstreams are automatically reloaded on config file change โ€” no restart required.

๐Ÿ”’

TLS Termination

Automatic certificate loading from folder, without a restart.

๐Ÿ”ฎ

Zero-Config Protocols

Automatic WebSocket, gRPC, HTTP/2 and SSL upstream detection โ€” zero configuration needed.

๐Ÿ›ก๏ธ

Built-in Authentication

Basic Auth, API Key via x-api-key header, and JWT verification with token issuance.

โš–๏ธ

Load Balancing

Round-robin, failover with health checks, and sticky sessions via cookies.

๐Ÿ“ˆ

Prometheus Metrics

Built-in metrics endpoint for monitoring, alerting, and performance analysis.

โฑ๏ธ

Built-in Rate Limiter

Per virtualhost and per-path rate limiting. Path limits override global limits.

โ˜ธ๏ธ

Kubernetes & Consul

Dynamic pod discovery and health-checked routing via Consul and Kubernetes integration.

๐Ÿฆ€

Memory Safe

Created purely in Rust with Pingora and tokio for async I/O and high performance.


Hot Reload


TLS Support

To enable TLS for a proxy server (currently only OpenSSL is supported):

  1. Set proxy_address_tls in main.yaml
  2. Provide tls_certificate and tls_key_file

Remote Config API

Push new upstreams.yaml over HTTP to config_address (:3000 by default). Useful for CI/CD automation or remote config updates. The URL parameter key=MASTERKEY is required โ€” its value matches master_key in main.yaml.

curl -XPOST --data-binary @./etc/upstreams.txt 127.0.0.1:3000/conf?key=${MASTERKEY}

License

Apache License Version 2.0


Notes


About this site