nginx on Windows

http://nginx.org/en/docs/windows.html

1. To start nginx, go to the nginx installation directory and type the command

nginx



2. Command to see all the nginx processes that are running

tasklist /fi "imagename eq nginx.exe"









3. nginx runs as a command application, some more useful commands

nginx -s stopfast shutdown
nginx -s quitgraceful shutdown
nginx -s reloadchanging configuration, starting new worker processes with a new configuration, graceful shutdown of old worker processes
nginx -s reopenre-opening log files

4. logs

Pull /logs/error.log for log information


No comments:

 My Attempt to learn AI  GPT Generative Pretrained Transformer Created by Google in 2017 with the publication of the paper "Attention ...

Popular in last 30 days