| 123456789101112131415161718192021 |
- # Database
- DATABASE_URL="postgresql://torqvoice:torqvoice@db:5432/torqvoice"
- # Authentication (generate with: openssl rand -hex 32)
- BETTER_AUTH_SECRET="your-secret-here"
- # App URL (used by both the app and Better Auth)
- NEXT_PUBLIC_APP_URL="http://localhost:3000"
- # Set to true only when Cloudflare proxies every request AND the origin
- # refuses traffic that did not come through it (Cloudflare IP ranges allowed
- # at the firewall or in nginx).
- #
- # Behind Cloudflare this is required, not optional: the proxy sets X-Real-IP
- # from the connection it sees, which is a Cloudflare edge address shared by
- # thousands of visitors, so leaving this off collapses everyone into a handful
- # of rate-limit buckets and real users start getting 429s.
- #
- # Without the origin lock it is worse than useless, because cf-connecting-ip is
- # then just a header anyone reaching the box directly can write for themselves.
- TRUST_CF_CONNECTING_IP=false
|