略
shell> nginx -h
nginx version: nginx/1.25.2
Usage: nginx [-?hvVtTq] [-s signal] [-p prefix]
[-e filename] [-c filename] [-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: NONE)
-e filename : set error log file (default: logs/error.log)
-c filename : set configuration file (default: conf/nginx.conf)
-g directives : set global directives out of configuration file
nginx -s quit
nginx -s stop
nginx -s reopen
nginx -s reload
nginx -t
https://www.cnblogs.com/waynechou/p/7760251.html
https://blog.csdn.net/u010433704/article/details/99817375