码迷,mamicode.com
首页 > 系统相关 > 详细

linux nginx轻量级服务器 -- 启动篇

时间:2015-02-06 11:22:21      阅读:217      评论:0      收藏:0      [点我收藏+]

标签:nginx

nginx 启动的多种参数


Nginx 从 0.7.53 版本之后新增了一些命令行参数:-s


-s 参数包含四个命令分别是 stop/quit/reopen/reload


# /usr/local/nginx/sbin/nginx -h

nginx version: nginx/0.7.67
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h         : this help
-v            : show version and exit
-V            : show version and configure options then exit
-t            : test configuration and exit
-s signal     : send signal to a master process: stop, quit, reopen, reload
-p prefix     : set prefix path (default: /usr/local/nginx/)
-c filename   : set configuration file (default: conf/nginx.conf)
-g directives : set global directives out of configuration file
vpser:~#

linux nginx轻量级服务器 -- 启动篇

标签:nginx

原文地址:http://blog.csdn.net/wei_xiaox126/article/details/43560647

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!