## 关闭nginx
```
./nginx -s stop
```
## 查看nginx版本
```
./nginx -v
```
## 查看nginx编译模块
```
./nginx -V
```
## 平滑重启
```
./nginx -s reload
```
# nginx配置
cd usr/local/nginx/conf
liunx配置文件在nginx/conf里
## 配置模型:
![](https://img.kancloud.cn/3e/e0/3ee09d7aff1a02de75487fcd25093e60_251x443.png)