Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Aug 12, 2022
1 parent 5288924 commit 0c0594a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
10 changes: 7 additions & 3 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ systemctl restart nginx-ui

注意:映射到 `/etc/nginx` 的文件夹应该为一个空目录。

**Docker 示例**
#### 注意
1. 首次使用时,映射到 `/etc/nginx` 的目录必须为空文件夹。
2. 如果你想要托管静态文件,可以直接将文件夹映射入容器中。

**Docker 部署示例**

```bash
docker run -dit \
Expand All @@ -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
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand All @@ -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+

Expand Down

0 comments on commit 0c0594a

Please sign in to comment.