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 配置 下载配置