Nginx on Windows

You can download nginx for windows from https://nginx.org/en/download.html To download nginx from command line, use following command in PowerShell Invoke-WebRequest -Uri https://nginx.org/download/nginx-1.19.6.zip -OutFile nginx-1.19.6.zip Auto Start Nginx on Windows When using Nginx on Windows, you need to escape paths with \ like following root C:\\sites\\my-site; For SSL, i used listen 443 ssl http2; ssl_certificate C:\\nginx\\ssl\\crt\\dedi.ai-chain.pem; … Read more

Delete SSL Certificate in IIS

To delete SSL certficate in IIS, 1) Start Internet Information Service (IIS) Manager 2) Click on Server Name (server hostname) 3) On right side, click on Server Certificates button. On next screen, you will get a list of all SSL certfificates. You can right click on any of the certficate and delete it. For older … Read more

Auto Start Nginx on Windows

To auto start Nginx on Windows, download http://nssm.cc/download Extract the file, you will find “nssm.exe” file for 32 and 64 bit windows. Copy the file for your Windows version to a folder like C:\utils\nssm.exe Start a command promt as user Administrator, then to go the folder where nssm.exe is, then run .\nssm.exe install “Nginx”” In … Read more

Windows

To check Windows OS health If any errors are found, fix them with check disk errors Fix disk errors check for system file corruption Compress a file using powershell To change hostname of a computer, run as Administrator in PowerShell. If you don’t want to restart, remove -Restart option. To stop/start a servce

Generate CSR on Microsoft Windows Server

Generate CSR: IIS 6 Microsoft Windows Server 2003 Open the Internet Information Services (IIS) Manager. From the Start button select Programs > Administrative Tools > Internet Information Services Manager. In IIS Manager, double-click the local computer, and then double-click the Web Sites folder. Right-click the Web site for which you want to request a certificate, … Read more