diff --git a/.env.example b/.env.example index 3eafb6e..90e4c31 100644 --- a/.env.example +++ b/.env.example @@ -102,6 +102,13 @@ # Leave unset to never automatically refresh quotas. # QUOTA_REFRESH_PERIOD=daily +# Specifies the number of proxies or load balancers in front of the server. +# For Cloudflare or Hugging Face deployments, the default of 1 is correct. +# For any other deployments, please see config.ts as the correct configuration +# depends on your setup. Misconfiguring this value can result in problems +# accurately tracking IP addresses and enforcing rate limits. +# TRUSTED_PROXIES=1 + # ------------------------------------------------------------------------------ # Secrets and keys: # Do not put any passwords or API keys directly in this file.