1.启动
# ./sbin/nginx -c ./nginx/conf/nginx.conf
2.停止
./sbin/nginx -s quit 正常停止
./sbin/nginx -s stop 强制停止
3.重启
./sbin/nginx -s reload
2023-12-03 19:45:58
1.启动
# ./sbin/nginx -c ./nginx/conf/nginx.conf
2.停止
./sbin/nginx -s quit 正常停止
./sbin/nginx -s stop 强制停止
3.重启
./sbin/nginx -s reload