Home > Article > Operation and Maintenance > Start nginx from command line
If nginx is in the d:/software/nginx directory, the command line startup method is:
1. Enter the d:/software/nginx directory Next
cd d:/software/nginx
2. Start nginx
start nginx
3. If you need to shut down nginx, execute the following command:
nginx -s stop
Recommended tutorial: nginx usage tutorial
The above is the detailed content of Start nginx from command line. For more information, please follow other related articles on the PHP Chinese website!