Home  >  Article  >  Operation and Maintenance  >  Start nginx from command line

Start nginx from command line

王林
王林Original
2020-06-04 16:55:565132browse

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

Start nginx from command line

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn