Document staging HTTPS on wixur.ir (Windows nginx + Let's Encrypt).

Mobinnet holds public port 80, so staging is served on 443. Examples and the host nginx template now match FRONTEND_URL=https://wixur.ir.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-29 14:46:05 +03:30
parent c40e276b8a
commit 2e2c910d22
4 changed files with 122 additions and 37 deletions

View File

@@ -9,11 +9,11 @@ JWT_EXPIRES_IN=15m
JWT_REFRESH_SECRET=another_long_random_secret_different_from_JWT_SECRET
JWT_REFRESH_EXPIRES_IN=30d
# CORS, cookies, and invite links — must match how users open the app (nginx host port)
FRONTEND_URL=http://wixur.ir
# CORS, cookies, and invite links — must match how users open the app
FRONTEND_URL=https://wixur.ir
# HTTP staging — keep false unless you terminate TLS in front of the app
COOKIE_SECURE=false
# TLS is terminated on Windows nginx :443 — cookies must be Secure
COOKIE_SECURE=true
# SMS (sms.ir)
SMS_IR_API_KEY=CHANGE_ME_SMS_IR_API_KEY