# 2.3 启动与关闭
##2.3.1 重启Nginx
```bash
sudo /usr/local/sbin/nginx -s reload
```
##2.3.2 关闭Nginx

**快速停止服务**
```bash
sudo /usr/local/sbin/nginx -s stop
```
**优雅停止服务**
```
sudo /usr/local/sbin/nginx -s quit #kill -s SIGQUIT pid_master
kill -s SIGWINCH pid_master
```