Expose AdminJS on nudentic.ir: nginx only proxied /api, so /admin never reached Nest.

This commit is contained in:
2026-09-01 11:49:14 +03:30
parent dc71c73ced
commit 6465af11ee
12 changed files with 124 additions and 9 deletions

View File

@@ -12,6 +12,10 @@ JWT_REFRESH_EXPIRES_IN=30d
# CORS, cookies, and invite links — must match how users open the app
FRONTEND_URL=https://wixur.ir
# AdminJS at https://wixur.ir/admin (nginx proxies /admin to the API).
ADMINJS_EMAIL=admin@wixur.ir
ADMINJS_PASSWORD=CHANGE_ME_STRONG_ADMINJS_PASSWORD
# TLS is terminated on Windows nginx :443 — cookies must be Secure
COOKIE_SECURE=true