Home  >  Article  >  Operation and Maintenance  >  How to restart nginx

How to restart nginx

藏色散人
藏色散人Original
2019-06-26 10:53:1422971browse

How to restart nginx

Nginx is a lightweight, high-performance, high-stability, and good-concurrency HTTP and reverse proxy server.

How to restart nginx?

Restart Nginx service

Method 1: Enter the nginx executable directory sbin and enter the command ./nginx -s reload can

How to restart nginx

Method 2: Find the current nginx process number, and then enter the command: kill -HUP process number to restart the nginx service

How to restart nginx

For more Nginx related knowledge, please visit the Nginx usage tutorial column!

The above is the detailed content of How to restart nginx. 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
Previous article:What is the role of nginxNext article:What is the role of nginx