From 699087fbc715697b93e003901bf47b2aaf9430fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9D=A6?= Date: Thu, 13 Mar 2025 23:10:25 +0800 Subject: [PATCH] =?UTF-8?q?docs(note):=20=E6=9B=B4=E6=96=B0=20README=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E9=83=A8=E7=BD=B2=E8=84=9A=E6=9C=AC=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将原来的直接管道到 sh 的方式改为下载脚本后再执行 - 新增 chmod +x 赋予脚本执行权限的步骤 --- www/README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/www/README.md b/www/README.md index 9a50176..cccc27a 100644 --- a/www/README.md +++ b/www/README.md @@ -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 配置 下载配置