0xJacky 2 лет назад
Родитель
Сommit
0c0594a7ee
2 измененных файлов с 11 добавлено и 6 удалено
  1. 7 3
      README-zh_CN.md
  2. 4 3
      README.md

+ 7 - 3
README-zh_CN.md

@@ -178,7 +178,11 @@ systemctl restart nginx-ui
 
 注意:映射到 `/etc/nginx` 的文件夹应该为一个空目录。
 
-**Docker 示例**
+#### 注意
+1. 首次使用时,映射到 `/etc/nginx` 的目录必须为空文件夹。
+2. 如果你想要托管静态文件,可以直接将文件夹映射入容器中。
+
+**Docker 部署示例**
 
 ```bash
 docker run -dit \
@@ -199,9 +203,9 @@ docker run -dit \
 
 - Make
 
-- Golang 1.18+
+- Golang 1.19+
 
-- node.js 14+
+- node.js 18+
 
   ```shell
   npx browserslist@latest --update-db

+ 4 - 3
README.md

@@ -177,10 +177,11 @@ systemctl restart nginx-ui
 
 #### With Docker
 
-You can use our `uozi/nginx-ui:latest` [image](https://hub.docker.com/r/uozi/nginx-ui) in docker, which is base on `nginx:latest`. You can replace the Nginx on host by publishing port 80 and 443 to host.
+You can use our `uozi/nginx-ui:latest` [image](https://hub.docker.com/r/uozi/nginx-ui) in docker, which is base on `nginx:latest`.
+You can replace the Nginx on host by publishing port 80 and 443 to host.
 
 ##### Note
-1. The volume mapping to `/etc/nginx` should be empty.
+1. When used for the first time, the volume mapping to `/etc/nginx` should be empty.
 2. If you want to host static files, map a directory to container.
 
 **Docker Deploy Example**
@@ -206,7 +207,7 @@ On platforms that do not have an official build version, they can be built manua
 
 - Make
 
-- Golang 1.18+
+- Golang 1.19+
 
 - node.js 18+