Aether

Process

Configuration

aether.config.load() reads the environment once per worker. Invalid AETHER_ENV (anything other than development, test or production) raises ConfigError at boot.

VariableMeaning
AETHER_ENVdevelopment, test, or production
AETHER_HOSTbind address
AETHER_PORTbind port
AETHER_WORKERS1 or the serve_multicore count. Default 1
AETHER_LOG_REQUESTSrequest log
AETHER_OPENAPIbuild and serve the OpenAPI document
AETHER_OPENAPI_TITLE, AETHER_OPENAPI_VERSIONinfo block
AETHER_JOBS_DBSQLite file for the queue
AETHER_TLS_CERT, AETHER_TLS_KEYPEM paths for TLS
AETHER_TRUST_X_FORWARDED_FORuse the forwarded client only behind a proxy you control
AETHER_WSWebSocket gateways
AETHER_MAX_BODY_BYTESrequest body limit
AETHER_RATE_LIMITenable the limiter
AETHER_RATE_LIMIT_MAX, AETHER_RATE_LIMIT_WINDOW_MSbudget and window
AETHER_CORS_ORIGINSallowed browser origins. Empty means no reflection
AETHER_JOB_STALE_MSwhen a leased job may be reclaimed
AETHER_METRICS, AETHER_METRICS_ROUTES/metrics and per-route counters
AETHER_REQUEST_ID0 skips request ids. Used by ping benchmarks
AETHER_REQUEST_HEADERS0 takes the header-skip path
AETHER_IPV6, AETHER_IPV6_ONLYIPv6 listen. Single worker
AETHER_SHUTDOWN_ROUTE1 mounts POST /__aether/shutdown
AETHER_STOP_POLL_MShow often other workers re-read the stopping file. Default 200

NOX_POOL_WORKERS is a Nox variable, not an Aether one, and it must be set in the environment before the binary starts whenever AETHER_WORKERS is greater than 1 on the LLVM backend.

Header-skip (AETHER_REQUEST_HEADERS=0) and AETHER_REQUEST_ID=0 exist so a microbenchmark is not measuring UUID allocation. Leave them on for a real service.