nginx简介:
Nginx (\"engine x\") 是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器。 Nginx 是由 Igor Sysoev 为俄罗斯访问量第二的 Rambler.ru 站点开发的
启动:
cd /ulsr/local/nginx, 看到如下4个目录
./
....conf 配置文件
... html 网页文件
...logs 日志文件
...sbin 主要二进制程序
nginx信号控制与进程管理:
|
TERM, INT |
Quick shutdown |
|
QUIT |
Graceful shutdown |
|
KILL |
Halts a stubborn process |
|
HUP |
Configuration reloadStart the new worker processes with a new configurationGracefully shutdown the old worker processes |
|
USR1 |
Reopen the log files |
|
USR2 |
Upgrade Executable on the fly |
|
WINCH |
Gracefully shutdown the worker processes |
http://wiki.nginx.org/CommandLine
具体语法:
Kill -信号选项 nginx的主进程号
Kill -HUP 4873
Kill -信号控制 `cat /xxx/path/log/nginx.pid`
Kil; -USR1 `cat /xxx/path/log/nginx.pid`
版权声明
本文仅代表作者观点,不代表百度立场。
本文系作者授权百度百家发表,未经许可,不得转载。




