[GH-ISSUE #21] Docker 映射静态页面部署文件夹 #5783

Closed
opened 2026-03-01 17:06:57 +03:00 by kerem · 5 comments
Owner

Originally created by @suiyueou on GitHub (Jul 24, 2022).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/21

Docker 部署时,是不是可以映射出一个特定文件夹来支持静态页面的部署,然后或许还可以在添加站点的界面上提示下路径什么的(~

Originally created by @suiyueou on GitHub (Jul 24, 2022). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/21 Docker 部署时,是不是可以映射出一个特定文件夹来支持静态页面的部署,然后或许还可以在添加站点的界面上提示下路径什么的(~
kerem 2026-03-01 17:06:57 +03:00
Author
Owner

@0xJacky commented on GitHub (Jul 24, 2022):

是的 直接映射就行,建议映射到 /var/ww 下面

Jacky

在 2022年7月24日,下午4:26,cainb @.***> 写道:


Docker 部署时,是不是可以映射出一个特定文件夹来支持静态页面的部署,然后或许还可以在添加站点的界面上提示下路径什么的(~


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

<!-- gh-comment-id:1193276636 --> @0xJacky commented on GitHub (Jul 24, 2022): 是的 直接映射就行,建议映射到 /var/ww 下面 Jacky > 在 2022年7月24日,下午4:26,cainb ***@***.***> 写道: > >  > Docker 部署时,是不是可以映射出一个特定文件夹来支持静态页面的部署,然后或许还可以在添加站点的界面上提示下路径什么的(~ > > — > Reply to this email directly, view it on GitHub, or unsubscribe. > You are receiving this because you are subscribed to this thread.
Author
Owner

@suiyueou commented on GitHub (Jul 24, 2022):

是的 直接映射就行,建议映射到 /var/ww 下面

好的,我刚刚主要是不知道映射到哪里,有点迷茫,嘿嘿

<!-- gh-comment-id:1193277240 --> @suiyueou commented on GitHub (Jul 24, 2022): > 是的 直接映射就行,建议映射到 /var/ww 下面 好的,我刚刚主要是不知道映射到哪里,有点迷茫,嘿嘿
Author
Owner

@suiyueou commented on GitHub (Jul 24, 2022):

是的 直接映射就行,建议映射到 /var/ww 下面

/var 文件夹下面似乎没有 www 文件夹斯~

image

<!-- gh-comment-id:1193283176 --> @suiyueou commented on GitHub (Jul 24, 2022): > 是的 直接映射就行,建议映射到 /var/ww 下面 `/var` 文件夹下面似乎没有 www 文件夹斯~ ![image](https://user-images.githubusercontent.com/48700331/180641461-9bec3bcf-fb39-40d2-a1d4-0a6e0d3d0420.png)
Author
Owner

@0xJacky commented on GitHub (Jul 24, 2022):

会自动创建的 随便映射到一个目录就行

Jacky

在 2022年7月24日,下午5:46,cainb @.***> 写道:


是的 直接映射就行,建议映射到 /var/ww 下面

/var 文件夹下面似乎没有 www 文件夹斯~


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

<!-- gh-comment-id:1193283624 --> @0xJacky commented on GitHub (Jul 24, 2022): 会自动创建的 随便映射到一个目录就行 Jacky > 在 2022年7月24日,下午5:46,cainb ***@***.***> 写道: > >  > 是的 直接映射就行,建议映射到 /var/ww 下面 > > /var 文件夹下面似乎没有 www 文件夹斯~ > > > > — > Reply to this email directly, view it on GitHub, or unsubscribe. > You are receiving this because you commented.
Author
Owner

@suiyueou commented on GitHub (Jul 24, 2022):

会自动创建的 随便映射到一个目录就行

喔!好嘞~

<!-- gh-comment-id:1193284416 --> @suiyueou commented on GitHub (Jul 24, 2022): > 会自动创建的 随便映射到一个目录就行 喔!好嘞~
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#5783
No description provided.