Skip to content

Commit 4c136dc

Browse files
committed
nginx
1 parent 133b0e8 commit 4c136dc

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

docs/Tool/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 工具

docs/Tool/nginx.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# nginx
2+
3+
## 命令
4+
5+
查看 nginx 的版本号
6+
7+
```shell
8+
nginx -v
9+
```
10+
11+
启动 nginx
12+
13+
```shell
14+
start nginx
15+
```
16+
17+
快速停止或关闭 nginx
18+
19+
```shell
20+
nginx -s stop
21+
```
22+
23+
正常停止或关闭 nginx
24+
25+
```shell
26+
nginx -s quit
27+
```
28+
29+
配置文件 nginx.conf 修改重装载命令
30+
31+
```shell
32+
nginx -s reload
33+
```

0 commit comments

Comments
 (0)