启动
sudo nginx
重启
sudo nginx -s reload
停止
sudo nginx -s stop
sudo nginx -s quit
测试nginx配置文件
nginx -t
/usr/local/Cellar/nginx/1.15.8/logs/nginx.pid pid
负载均衡
8001 端口
2024-02-18 11:31:46
启动
sudo nginx
重启
sudo nginx -s reload
停止
sudo nginx -s stop
sudo nginx -s quit
测试nginx配置文件
nginx -t
/usr/local/Cellar/nginx/1.15.8/logs/nginx.pid pid
负载均衡
8001 端口