nginx.org的Command-line parameters页面翻译
来源:互联网 发布:photoshop8.0软件下载 编辑:程序博客网 时间:2024/06/02 12:57
英文文档对应页面:Command-line parameters,链接地址:http://nginx.org/en/docs/switches.html
命令行参数
nginx支持如下的命令行参数:
命令行参数
nginx支持如下的命令行参数:
-? | -h
打印命令行参数的帮助信息
-c file
使用一个其他的配置文件,代理默认的配置文件
-g directives
设置全局配置指令,例如:
nginx -g "pid /var/run/nginx.pid; worker_processes sysctl -n hw.ncpu;"(应该是:beginners_guide中讲到的 "main context",不在任意contexts中的指令)
-p prefix
设置nginx路径前缀,即存放服务器文件的目录(默认是:/usr/local/nginx)- nginx的安装目录?
-q
在配置测试期间,抑制非错误消息的输出
-s signal
发送一个signal给nginx的主进程。signal可以是下面的其中一个:
- stop - 快速关闭
- quit - 友好的关闭
- reload - 重载配置文件,使用新的配置创建新的工作进程,友好的关闭旧的工作进程
- reopen - 重新打开日志文件
-t
测试配置文件:nginx检查配置文件的语法正确性,并尝试打开配置文件中涉及到的文件(例如:include xxx,引入其他文件)
-T
同“-t”参数一样,但是附件打印配置文件到标准输出(1.9.2)
-v
打印nginx版本
-V
打印nginx版本,编译器版本,./configure配置参数
0 0
- nginx.org的Command-line parameters页面翻译
- nginx.org的about页面翻译
- nginx.org的Server names页面翻译
- InstallShield Command-Line Parameters
- nginx.org的How nginx processes a request页面翻译
- Accessing command line parameters/arguments
- nginx.org的beginner's guide页面翻译
- nginx.org的A debugging log页面翻译
- nginx.org的Logging to syslog页面翻译
- nginx.org的Configuration file measurement units页面翻译
- nginx.org的Configuring HTTPS servers页面翻译
- Nginx--官网中文翻译(中英文对比)--8-命令行参数Command-line parameters
- nginx.org的Using nginx as HTTP load balancer页面翻译
- nginx.org的How nginx processes a TCP/UDP session页面翻译
- Python Intro - Parse Command Line Parameters
- How to parse command line parameters.
- Jenkins Command Line大全[翻译]
- nginx的controlling nginx页面翻译
- php几种根据生日计算年龄的方法
- Qt5的widget项目文件解析
- UE4中蓝图转换成C++代码
- android 主题兼容问题
- 视频课程-前端开发
- nginx.org的Command-line parameters页面翻译
- IDEA Properties中文unicode转码问题
- 为什么要使用Google Protocol Buffers
- 服务器使用df和du查看磁盘大小不一致
- IAT
- openwrt 编译软件包
- Max Sum
- Python学习之Morvan 01——tkinter学习01
- Android仿京东购物车效果