linux nginx轻量级服务器 -- 启动篇
nginx 启动的多种参数
Nginx 从 0.7.53 版本之后新增了一些命令行参数:-s
-s 参数包含四个命令分别是 stop/quit/reopen/reload
# /usr/local/nginx/sbin/nginx -h
nginx version: nginx/0.7.67Usage: nginx [-?hvVt] [-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-s signal : send signal to a master process: stop, quit, reopen, reload-p prefix : set prefix path (default: /usr/local/nginx/)-c filename : set configuration file (default: conf/nginx.conf)-g directives : set global directives out of configuration filevpser:~#
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。