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

Auto Start Nginx on Windows When using Nginx on Windows, you need to escape paths with \ like following

For SSL, i used

See Nginx […]

Read More…

Downloading a file with PowerShell

To download a file using PowerShell, run

Example

See Windows […]

Read More…

Enable TLS 1.2 on Windows Server 2008 R2

SSL Score A

Windows Server 2008 R2 come with IIS 7.5, latest supported TLS version is 1.1. Recently Google Chrome starting showing sites using TLS 1.0 and 1.1 as insecure. To fix this, create a file tls12-enable.reg with following content

Now run a command promt (cmd.exe) as Administrator. Go to the folder where tls12-enable.reg is saved, run […]

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

In the GUI […]

Read More…