摘要:
1.启动 nginx -c /etc/nginx/nginx.conf2.停止 (1) 从容停止Nginx ps -ef | grep nginx kill - QUIT<nginx_master_process_pid> (2) 快速停止Nginx ps -ef | grep nginx kill - TERM<nginx_master_process_pid> (3) 强制停止Nginx pkill -9 nginx3.重启 nginx -t nginx -s reload 或kill -HUP <nginx_master_process_pid> 阅读全文