mxHeadless
REST API gateway for headless frontends on MODX 3. Resources, objects, OpenAPI, API keys, and OAuth

Setting mxheadless_trusted_proxies holds a list of IPs (comma or newline separated) you trust for forwarded headers.
If REMOTE_ADDR is in the list, client IP comes from the first hop in X-Forwarded-For. Otherwise the package uses only REMOTE_ADDR.
IP affects rate limit and audit. Empty list is the safe default for direct connections.
X-Forwarded-Proto for URL building. Configure HTTPS on the reverse proxy203.0.113.10,203.0.113.11