Configuring nginx under win10

First now nginx: http://nginx.org/en/download.html

 

 After good download, unzip

 

 Open cmd window execute start in the root directory of the unpacked nginx.exe or executed directly nginx.exe to start Nginx

 

 Now enter localhost in the browser: 80 to enter the welcome page, you can also see the nginx process in Task Manager

 

 Commonly used commands:

nginx.exe -s stop close Nginx (quick stop nginx, may not save the information)
nginx.exe -s quit close Nginx (complete and orderly stop nginx, save the information)
nginx.exe -s reload reload Nginx
View Nginx process: tasklist / fi "imagename eq nginx.exe "

Configuration files: conf under the root directory / nginx.conf file

 

Guess you like

Origin www.cnblogs.com/minutes/p/12596635.html