Expand description
Configuration types and loaders for the proxy.
Supports both file-based (TOML) and database-backed configuration, with hot-reload via file watching and PostgreSQL LISTEN/NOTIFY.
Structs§
- Acme
Config - ACME configuration for automatic certificate management.
- Backend
- A backend server.
- Config
Reloader - Manages configuration reloading.
- Health
Check Config - Health check configuration.
- Proxy
Config - Main proxy configuration.
- Rate
Limit Defaults - Default rate limiting settings.
- Route
- A proxy route configuration.
- Route
Match - Route matching criteria.
- Route
Rate Limit - Per-route rate limiting.
- Server
Config - Server configuration.
- TlsConfig
- TLS configuration.
- Upstream
- An upstream (group of backend servers).
Enums§
- Load
Balance Strategy - Load balancing strategy.
- Path
Match Type - Path matching type.
- Rate
Limit Key - Rate limit key type.
Functions§
- load_
from_ database - Load routes from the database.
- load_
from_ file - Load proxy configuration from a TOML file.