refactor: removed BACKEND_PROXY_TARGET and unified FASTAPI_BACKEND_INTERNAL_URL for both next.js rewrite and docker network issues

This commit is contained in:
Anish Sarkar 2026-04-21 11:17:24 +05:30
parent 1abbc6021f
commit 8a8086176b
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
NEXT_PUBLIC_FASTAPI_BACKEND_URL=http://localhost:8000
# Server-only. Backend URL behind the /api/v1/* proxy in next.config.ts.
# Server-only. Internal backend URL used by Next.js server code.
# Falls back to NEXT_PUBLIC_FASTAPI_BACKEND_URL when unset.
BACKEND_PROXY_TARGET=https://your-internal-backend.example.com
FASTAPI_BACKEND_INTERNAL_URL=https://your-internal-backend.example.com
NEXT_PUBLIC_FASTAPI_BACKEND_AUTH_TYPE=LOCAL or GOOGLE
NEXT_PUBLIC_ETL_SERVICE=UNSTRUCTURED or LLAMACLOUD or DOCLING