diff --git a/README-zh_CN.md b/README-zh_CN.md index e7bb2d4a..0aceff56 100644 --- a/README-zh_CN.md +++ b/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 diff --git a/README.md b/README.md index a0362c2d..11191c0a 100644 --- a/README.md +++ b/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+