Expose AdminJS on nudentic.ir: nginx only proxied /api, so /admin never reached Nest.
This commit is contained in:
@@ -14,6 +14,11 @@ JWT_REFRESH_EXPIRES_IN=30d
|
||||
# Must match DOMAIN in .env — used for CORS, invite links, cookies
|
||||
FRONTEND_URL=https://nudentic.ir
|
||||
|
||||
# AdminJS at https://nudentic.ir/admin (nginx proxies /admin to the API).
|
||||
# Change these — the code defaults are only for local development.
|
||||
ADMINJS_EMAIL=admin@nudentic.ir
|
||||
ADMINJS_PASSWORD=CHANGE_ME_STRONG_ADMINJS_PASSWORD
|
||||
|
||||
# Required for HTTPS — browsers reject Secure cookies over plain HTTP
|
||||
COOKIE_SECURE=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user