forked from 0xWheatyz/SPARC
fix(proxy): remove double slash in nginx API proxy_pass
API_URL already includes a trailing slash, so the extra slash in proxy_pass produced //auth/login paths, causing 404s. Also clear ROOT_PATH since nginx strips /api/ before proxying.
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ services:
|
||||
JWT_SECRET: ${JWT_SECRET:-sparc-secret-key-change-in-production}
|
||||
CORS_ORIGINS: ${CORS_ORIGINS:-}
|
||||
APP_ENV: ${APP_ENV:-development}
|
||||
ROOT_PATH: /api
|
||||
ROOT_PATH: ""
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user