From d80f04a7e186d2ca2a42afcf4a16b9800766642a Mon Sep 17 00:00:00 2001 From: xiaoyivip <2217021563@qq.com> Date: Thu, 1 Sep 2022 19:04:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=96=87=E6=A1=A3=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 项目部署文档.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/项目部署文档.md b/项目部署文档.md index c16e077..eb6c288 100644 --- a/项目部署文档.md +++ b/项目部署文档.md @@ -339,13 +339,13 @@ npm run build tip: 在这之前,需要到域名提供商那里配置好域名,个人认为没有必要开启https,http完全够,并且省事儿。当然,如果想开启https的话,后面也有相应的教程。 -1. 拉取nginx镜像 +### 10.1 拉取nginx镜像 ```shell docker pull nginx ``` -2. 在/usr/local/nginx下创建nginx.conf文件,格式如下 +### 10.2 在/usr/local/nginx下创建nginx.conf文件,格式如下 ```shell events { @@ -410,7 +410,7 @@ server { } ``` -3. 启动nginx +### 10.3 启动nginx ```shell docker run --name nginx --restart=always -p 80:80 -d -v /usr/local/nginx/nginx.conf:/etc/nginx/nginx.conf -v /usr/local/vue:/usr/local/vue nginx