mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
update README.md
This commit is contained in:
parent
2f759f8b20
commit
70e3f2d372
3 changed files with 6 additions and 6 deletions
|
@ -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` 的文件夹应该为一个空目录
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
## 手动构建
|
||||
|
|
|
@ -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` 的文件夾應該為一個空目錄
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
## 手動構建
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue