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:
11
infrastructure/scripts/windows-renew-wixur-cert.cmd
Normal file
11
infrastructure/scripts/windows-renew-wixur-cert.cmd
Normal file
@@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
REM Run as Administrator. Stops nginx so win-acme can bind 443 (TLS-ALPN),
|
||||
REM renews, then starts nginx again. Point the win-acme scheduled task here
|
||||
REM instead of calling wacs.exe directly.
|
||||
cd /d C:\tools\nginx-1.29.5
|
||||
taskkill /F /IM nginx.exe >nul 2>&1
|
||||
timeout /t 2 /nobreak >nul
|
||||
cd /d C:\tools\win-acme
|
||||
wacs.exe --renew --closeonfinish
|
||||
cd /d C:\tools\nginx-1.29.5
|
||||
start "" nginx.exe
|
||||
Reference in New Issue
Block a user