Support configurable trust proxy hop count
This commit is contained in:
@@ -25,6 +25,10 @@ CRYPTO_COM_API_SECRET=
|
||||
# ----------------------------------------------------------------------------
|
||||
# API behind reverse proxy (rate limits, logging)
|
||||
# TRUST_PROXY=1
|
||||
# TRUST_PROXY_HOPS=1
|
||||
# When TRUST_PROXY=1, Express uses this hop count (default 1, max 10). Usually **1**: Node sees
|
||||
# one reverse proxy peer (NPM or the Phoenix API hub). Raise only if another proxy terminates
|
||||
# TCP in series before dbis_core (rare); validate client IP / rate limits after changing.
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# IRU marketplace — rate limits (optional; sensible defaults in code)
|
||||
|
||||
Reference in New Issue
Block a user