I set up NGINX as a front end server for static content and I use Apache as a back-end server for other thing.
The thing is I can\'t find a logical answer that allow
NSSM is the best tool to run Nginx as a service.
If you do not want to use any external 3rd party software then you can implement any of these two methods.
Windows Task Scheduler
Windows Startup shortcut
Create one shortcut of nginx.exe and put it in the startup folder of Windows.
Follow this answer to find your startup location.