[root@10 sbin]# ./nginx -h
nginx version: nginx/1.13.12
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: /tmp/nginx/nginx-1.13.12/)
-c filename : set configuration file (default: conf/nginx.conf)
-g directives : set global directives out of configuration file
[root@10 sbin]# ./nginx -?
nginx version: nginx/1.14.0
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: /opt/aspire/ums/nginx/)设置前缀路径(默认值:/opt/asiure/uMS/ngnx/)
-c filename : set configuration file (default: conf/nginx.conf)设置配置文件(默认值:CONF/NGIX.CONF)
-g directives : set global directives out of configuration file从配置文件中设置全局指令