nginx常用命令说明
Options:
参数 | 官方解释 | 翻译 |
---|---|---|
-h | this help | 帮助 |
-v | show version and exit | 显示版本信息 |
-V | show version and configure options then exit | 显示版本信息和配置信息 |
-t | test configuration and exit | 检查配置文件语法 |
-T | test configuration, dump it and exit | |
-q | suppress non-error messages during configuration testing | |
-s | signalsend signal to a master process: stop, quit, reopen, reload | 控制服务平滑重启 停止 |
-p prefix | set prefix path (default: /etc/nginx/) | |
-c filename | set configuration file (default: /etc/nginx/nginx.conf) | |
-g directives | set global directives out of configuration file |
示例
-h