Skip to main content

Module config

Module config 

Source
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§

AcmeConfig
ACME configuration for automatic certificate management.
Backend
A backend server.
ConfigReloader
Manages configuration reloading.
HealthCheckConfig
Health check configuration.
ProxyConfig
Main proxy configuration.
RateLimitDefaults
Default rate limiting settings.
Route
A proxy route configuration.
RouteMatch
Route matching criteria.
RouteRateLimit
Per-route rate limiting.
ServerConfig
Server configuration.
TlsConfig
TLS configuration.
Upstream
An upstream (group of backend servers).

Enums§

LoadBalanceStrategy
Load balancing strategy.
PathMatchType
Path matching type.
RateLimitKey
Rate limit key type.

Functions§

load_from_database
Load routes from the database.
load_from_file
Load proxy configuration from a TOML file.