adds TRUSTED_PROXIES to .env.example

This commit is contained in:
nai-degen 2024-01-08 16:41:30 -06:00
parent be731691a1
commit 1a585ddd32
1 changed files with 7 additions and 0 deletions

View File

@ -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.