fix(部署): 补齐直连前端时的 API 反代

This commit is contained in:
2026-07-03 16:44:44 +08:00
parent 51767579d7
commit 878a2d9a43
7 changed files with 71 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ REDIS_URL=redis://redis:6379
# Web
# For same-domain Nginx deployment, keep this relative path so browser requests go to /api/v1.
NEXT_PUBLIC_API_URL=/api/v1
# Fallback used by the Next.js server if the web container is exposed directly.
NEXT_API_PROXY_TARGET=http://server:3001
NEXTAUTH_URL=https://pm.example.com
NEXTAUTH_SECRET=change-me-random-32-byte-secret