nginx常用命令

nginx常用命令

1、nginx帮助文档

nginx -h

2、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 signal     : send signal to a master process: stop, quit, reopen, reload
  -p prefix     : set prefix path (default: /usr/share/nginx/)
  -c filename   : set configuration file (default: /etc/nginx/nginx.conf)
  -g directives : set global directives out of configuration file
posted @ 2022-03-26 21:02  bulingfeng  阅读(20)  评论(0编辑  收藏  举报