# ./sbin/nginx -h
nginx version: nginx/1.12.2
Usage: nginx [-?hvVtTq] [-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 // 测试配置正确性并退出
-T : test configuration, dump it and exit // 测试配置正确性,转储它并退出 ??
-q : suppress non-error messages during configuration testing // 测试配置时只显示错误
-s signal : send signal to a master process: stop, quit, reopen, reload // 向主进程发送信号
-p prefix : set prefix path (default: /Nginx/) // 指定Nginx 服务器路径前缀
-c filename : set configuration file (default: conf/nginx.conf) // 指定 Nginx 配置文件路径
-g directives : set global directives out of configuration file // 指定 Nginx 附加配置文件路径
nginx version: nginx/1.12.2
Usage: nginx [-?hvVtTq] [-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 // 测试配置正确性并退出
-T : test configuration, dump it and exit // 测试配置正确性,转储它并退出 ??
-q : suppress non-error messages during configuration testing // 测试配置时只显示错误
-s signal : send signal to a master process: stop, quit, reopen, reload // 向主进程发送信号
-p prefix : set prefix path (default: /Nginx/) // 指定Nginx 服务器路径前缀
-c filename : set configuration file (default: conf/nginx.conf) // 指定 Nginx 配置文件路径
-g directives : set global directives out of configuration file // 指定 Nginx 附加配置文件路径