nginx相关参数说明
来源:互联网 发布:淘宝怎么显示多个客服 编辑:程序博客网 时间:2024/05/21 09:25
[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
0 0
- nginx相关参数说明
- Nginx代理非80端口设置及相关参数说明
- Nginx代理非80端口设置及相关参数说明
- Nginx配置相关说明
- Nginx配置参数说明
- Nginx配置参数说明
- nginx 配置文件参数说明
- Nginx配置参数说明
- Nginx配置参数说明
- nginx参数说明
- CMPP相关参数说明
- Jmeter相关参数说明
- Uplodify相关参数说明
- jedisPool相关参数说明
- Nginx相关配置简单说明
- nginx配置文件nginx.conf参数说明
- dbcp相关状态参数说明
- hbase优化相关参数说明
- O2O营销模式编辑
- OpenFire源码学习之六:用户注册
- cocoapods Undefined symbols for architecture armv7: referenced from:
- 面向对象---继承、抽象、接口
- 关于ajax返回总是进入error函数的问题
- nginx相关参数说明
- leetcode [Clone Graph] Java
- java基础:enum枚举
- 卡尔曼滤波器
- javascript实现一个按钮,点击按钮拷贝电脑指定路径到u盘(并在U盘上创建新的文件夹)
- csdn的博客之路
- 虚函数
- write的奥秘
- Mysql高级查询