Expose AdminJS on nudentic.ir: nginx only proxied /api, so /admin never reached Nest.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user