Expand description
[traffic] settings (RWS_CONFIG_TRAFFIC_*).
Constants§
- RWS_
CONFIG_ TRAFFIC_ ENABLED - RWS_
CONFIG_ TRAFFIC_ EXCLUDE - RWS_
CONFIG_ TRAFFIC_ PERSIST - RWS_
CONFIG_ TRAFFIC_ RETENTION_ DAYS
Functions§
- enabled_
setting enabled:Some(false)turns counting off even with the admin API on;Nonewhen unset.- exclude
exclude: exact paths not counted (comma-separated); default the health, readiness and metrics endpoints.- persist_
path persist: the file the counts are saved to. Unset:traffic.jsonnext to the certificate (the ACME certificate’s directory, else the TLS certificate’s) — the state directory; without either, nothing is saved."off": not saved.- retention_
days retention_days: 1–90, default 30.