docs(note): 更新 README 中的部署脚本执行方式
- 将原来的直接管道到 sh 的方式改为下载脚本后再执行 - 新增 chmod +x 赋予脚本执行权限的步骤
This commit is contained in:
@@ -1,4 +1,32 @@
|
||||
# Nginx 配置
|
||||
# Nginx
|
||||
|
||||
## 安装 Nginx
|
||||
|
||||
安装 Nginx
|
||||
|
||||
```bash
|
||||
apt-get update && apt-get install nginx
|
||||
```
|
||||
|
||||
启动 Nginx
|
||||
|
||||
```bash
|
||||
systemctl start nginx
|
||||
```
|
||||
|
||||
开机自启动
|
||||
|
||||
```bash
|
||||
systemctl enable nginx
|
||||
```
|
||||
|
||||
查看状态
|
||||
|
||||
```bash
|
||||
systemctl status nginx
|
||||
```
|
||||
|
||||
## Nginx 配置
|
||||
|
||||
下载配置
|
||||
|
||||
|
||||
Reference in New Issue
Block a user