Home > Backend Development > PHP Tutorial > nginx operations

nginx operations

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-29 09:02:04
Original
1014 people have browsed it

1. Start and stop

1. Start

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

2. Verify the correctness of the configuration file

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

3. Restart

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

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

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.

Related labels:
Statement of this Website
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
Latest Issues
Error restarting nginx
From 1970-01-01 08:00:00
0
0
0
server - Nginx configuration webapp problem
From 1970-01-01 08:00:00
0
0
0
Nginx default.conf problem
From 1970-01-01 08:00:00
0
0
0
centos7 - NGINX exception occurs
From 1970-01-01 08:00:00
0
0
0
nginx load balancing
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template