Skip to content

Instantly share code, notes, and snippets.

@praful-dhabekar
Last active September 11, 2020 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save praful-dhabekar/5fe65aeeb9b34c69c68228e3e200f04c to your computer and use it in GitHub Desktop.
Save praful-dhabekar/5fe65aeeb9b34c69c68228e3e200f04c to your computer and use it in GitHub Desktop.
Simple start, stop and restart script for NGINX on Windows
@ECHO OFF
call nginx-stop.bat
call nginx-start.bat
EXIT /b
@ECHO OFF
ECHO Starting NGINX
start nginx.exe
EXIT /b
@ECHO OFF
ECHO Stoping NGINX
taskkill /f /IM nginx.exe
EXIT /b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment