fix(部署): 补齐直连前端时的 API 反代
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user