nginx相关参数说明
2015-02-02 20:23
337 查看
[root@mode extra]# /application/nginx/sbin/nginx -h
nginx version: nginx/1.2.1
Usage: nginx [-?hvVtq] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit//显示出nginx的版本号
-V : show version and configure options then exit//显示出nginx版本号和配置选项后退出
-t : test configuration and exit//测试配置文件是否正确,在运行时重新加载配置的时候,这个命令非常重要,用来检测所修改的配置文件时候正确
-q : suppress non-error messages during configuration testing
-s signal : send signal to a master process: stop, quit, reopen, reload//发送一个信号给master,这里的reload参数很重要,是优雅重启nginx参数。类似apache的graceful
-p prefix : set prefix path (default: /application/nginx-1.2.1/)
-c filename : set configuration file (default: conf/nginx.conf)//使用指定的配置文件,而不是conf/nginx.conf,一个实例一个配置文件,启动哪个实例,使用哪个配置文件
-g directives : set global directives out of configuration file
nginx version: nginx/1.2.1
Usage: nginx [-?hvVtq] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit//显示出nginx的版本号
-V : show version and configure options then exit//显示出nginx版本号和配置选项后退出
-t : test configuration and exit//测试配置文件是否正确,在运行时重新加载配置的时候,这个命令非常重要,用来检测所修改的配置文件时候正确
-q : suppress non-error messages during configuration testing
-s signal : send signal to a master process: stop, quit, reopen, reload//发送一个信号给master,这里的reload参数很重要,是优雅重启nginx参数。类似apache的graceful
-p prefix : set prefix path (default: /application/nginx-1.2.1/)
-c filename : set configuration file (default: conf/nginx.conf)//使用指定的配置文件,而不是conf/nginx.conf,一个实例一个配置文件,启动哪个实例,使用哪个配置文件
-g directives : set global directives out of configuration file
相关文章推荐
- Nginx代理非80端口设置及相关参数说明
- Nginx代理非80端口设置及相关参数说明
- Nginx中并发性能相关配置参数说明
- spring tx:advice相关参数说明
- BREW手机中的相关参数说明(下)
- 网页上的播放器相关参数说明
- Apache rewrite的重写相关的参数说明
- 网页上的播放器相关参数说明
- SQL2005备份与还原相关参数与方法说明
- 《BREW进阶与精通――3G移动增值业务的运营、定制与开发》连载之39---BREW手机中的相关参数说明
- BREW手机中的相关参数说明(上)
- C#中使用API(SHFileOperation)进行文件操作,特别说明了回收站相关参数
- 网页上的播放器相关参数说明
- SQL2005备份与还原相关参数与方法说明
- Nginx HTTP负载均衡/反向代理的相关参数测试
- BREW手机中的相关参数说明(上)
- 网页上的播放器相关参数等说明
- 网页上的播放器相关参数说明
- Apache-rewrite模块重写相关的参数说明
- Proftpd有关权限配置的相关参数说明