OPTIONAL
If you already have NSSM installed, you may skip this step.
Let’s go through to setup NGINX on Windows
Head over to the NGINX website and download the current version of NGINX so we may proceed.
In this tutorial we will be using the path of C:/nginx
for everything
Once you have download the nginx zip file, extract the contents of the folder inside the zip into C:/nginx
If you already have NSSM installed on Windows, skip the next two steps.
If you already have NSSM installed, you may skip this step.
Download From NSSM Webpage
Head over to the NSSM Webpage and download the pre-release Zip file so we may extract it for Windows Command Prompt.
If you already have NSSM installed, you may skip this step.
Now that you have download the NSSM Zip file. Go ahead and unzip that file and navigate to the folder that has win32
and win64
folders. Depending on your Windows installation [More than likely 64bit] go into the correct folder. Copy the nssm.exe file into C:/windows/system32/
Open up Command Prompt [Type cmd in start bar] by Right-Clicking it and selecting Run as Administrator.
Then type nssm install nginx
Then fill out the box like the image.
Now that NGINX is installed, we need to install PHP and configure both of them to work together.