nginx 配置文件和重启服务命令
This commit is contained in:
16
nginx/cli.md
Normal file
16
nginx/cli.md
Normal file
@ -0,0 +1,16 @@
|
||||
<h1>
|
||||
Nginx
|
||||
<h3>常用命令</h3>
|
||||
</h1>
|
||||
|
||||
### 重启服务
|
||||
|
||||
```bash
|
||||
nginx -s reload
|
||||
```
|
||||
|
||||
### Docker 容器中重新加载配置
|
||||
|
||||
```docker
|
||||
docker exec -it nginx /etc/init.d/nginx reload
|
||||
```
|
Reference in New Issue
Block a user