nginx operations

WBOY
WBOYOriginal
2016-07-29 09:02:04998browse

1. Start and stop

1. Start

安装目录 + -c + 配置文件地址

2. Verify the correctness of the configuration file

./nginx -t (<span style="font-family: Arial, Helvetica, sans-serif;">安装目录 + -t -c + 配置文件地址</span>)

3. Restart

./nginx -s reload (kill -HUP + pid)

4. Stop
kill -QUIT + PID
kill -TREM + PID
pkill -9 nginx

2. Reverse proxy and load balancing

3. nginx + tomcat to implement jsp development configuration

The above has introduced the nginx operation, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

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