Environment Variables

Security, Middlewares, CSP & Sessions

Middlewares

VariableDefaultDescription
RUNIQUE_ENABLE_CACHEtrue (prod) / false (dev)HTTP cache headers

CSP — Configured exclusively via the builder (.with_csp(...)). See CSP. Host validation — Configured exclusively via the builder (.with_allowed_hosts([...])). See Host Validation.


Sessions

Session memory limits and cleanup interval are configured via the builder — see Sessions.