Fix: add AUTH_TRUST_HOST for reverse proxy support
Build and Push Docker Image / build (push) Has been cancelled Details

Auth.js v5 requires explicit trust for hosts behind a reverse proxy.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-01-30 19:24:25 +01:00
parent 4071606005
commit 4c5a49cede
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ services:
- NEXTAUTH_URL=${NEXTAUTH_URL}
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- AUTH_SECRET=${NEXTAUTH_SECRET}
- AUTH_TRUST_HOST=true
- MINIO_ENDPOINT=${MINIO_ENDPOINT}
- MINIO_PUBLIC_ENDPOINT=${MINIO_PUBLIC_ENDPOINT:-}
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY}