Add AUTH_TRUST_HOST for reverse proxy deployments

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
JP Scott
2026-03-01 16:16:00 -07:00
parent 4ed53d0fd7
commit 247a21b6a7
2 changed files with 2 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ POSTGRES_DB="drinktracker"
# NextAuth
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="generate-with: openssl rand -base64 32"
AUTH_TRUST_HOST="true" # Set to true when behind a reverse proxy
# OAuth Providers
GOOGLE_CLIENT_ID=""