Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Jul 23, 2022
1 parent 2f759f8 commit 70e3f2d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ systemctl restart nginx-ui
## 使用 Docker

Docker 示例
- `nginx-ui:latest` 镜像基于 `nginx:latest` 构建,
- `uozi/nginx-ui:latest` 镜像基于 `nginx:latest` 构建,
您可以直接将该镜像监听到 80 和 443 端口以取代宿主机上的 Nginx

- 映射到 `/etc/nginx` 的文件夹应该为一个空目录
Expand All @@ -176,7 +176,7 @@ docker run -dit \
-v /mnt/user/appdata/nginx:/etc/nginx \
-v /mnt/user/appdata/nginx-ui:/etc/nginx-ui \
-p 8080:80 -p 8443:443 \
nginx-ui:latest
uozi/nginx-ui:latest
```

## 手动构建
Expand Down
4 changes: 2 additions & 2 deletions README-zh_TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ systemctl restart nginx-ui
## 使用 Docker

Docker 示例
- `nginx-ui:latest` 鏡像基於 `nginx:latest` 構建,
- `uozi/nginx-ui:latest` 鏡像基於 `nginx:latest` 構建,
您可以直接將該鏡像監聽到 80 和 443 端口以取代宿主機上的 Nginx

- 映射到 `/etc/nginx` 的文件夾應該為一個空目錄
Expand All @@ -176,7 +176,7 @@ docker run -dit \
-v /mnt/user/appdata/nginx:/etc/nginx \
-v /mnt/user/appdata/nginx-ui:/etc/nginx-ui \
-p 8080:80 -p 8443:443 \
nginx-ui:latest
uozi/nginx-ui:latest
```

## 手動構建
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ systemctl restart nginx-ui
## Use Docker

Docker deploy example
- `nginx-ui:latest` base on `nginx:latest`, you can replace the Nginx on host by publishing port 80 and 443 to host
- `uozi/nginx-ui:latest` base on `nginx:latest`, you can replace the Nginx on host by publishing port 80 and 443 to host

- The volume mapping to `/etc/nginx` should be empty.

Expand All @@ -174,7 +174,7 @@ docker run -dit \
-v /mnt/user/appdata/nginx:/etc/nginx \
-v /mnt/user/appdata/nginx-ui:/etc/nginx-ui \
-p 8080:80 -p 8443:443 \
nginx-ui:latest
uozi/nginx-ui:latest
```


Expand Down

0 comments on commit 70e3f2d

Please sign in to comment.