fix: support Discord sign-in behind a trusted TLS proxy
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# Loaded by bun start and bun run db:migrate:production.
|
||||
# Set your public origin, e.g. https://habits.example.com
|
||||
APP_ORIGIN=
|
||||
# Enable only behind a private proxy that overwrites X-Forwarded-Proto.
|
||||
TRUST_PROXY=false
|
||||
# Docker sets HOST=0.0.0.0; local startup defaults to 127.0.0.1.
|
||||
# Optional overrides: PORT, DATABASE_PATH, DISCORD_CLIENT_ID,
|
||||
# DISCORD_CLIENT_SECRET, AUTH_COOKIE_SECRET.
|
||||
|
||||
Reference in New Issue
Block a user