[root@localhost sbin]# ./nginx -h
Tengine version: Tengine/2.2.1 (nginx/1.8.1)
Usage: nginx [-?hvmVtdq] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-m : show all modules and exit
-l : show all directives and exit
-V : show version, modules and configure options then exit
-t : test configuration and exit
-d : dump configuration 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: /usr/tengine/)
-c filename : set configuration file (default: conf/nginx.conf)
-g directives : set global directives out of configuration file
# 由此可知 設置配置文件為-c 文件名,停止為-s stop