看到各种导航APP都太花俏不够实用,我一直是自己做个HTML文件用
将里面的文件让豆包修改了下。部署compose
#每添加一个项目,例如index
#chmod -R 755 /vol3/1000/Docker/WWW/index
services:
site1:
image: nginx:alpine
container_name: www-index
ports:
- "5282:80"
volumes:
- /vol3/1000/Docker/WWW/index:/usr/share/nginx/html:ro
# 如果是 Vue/React 等 SPA,取消下一行注释并确保 nginx-spa.conf 存在
# - ./nginx-spa.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
源码传到/vol3/1000/Docker/WWW/index下
chmod -R 755 /vol3/1000/Docker/WWW/index


在js文件自定义链接,图标
小白自用,不喜勿喷
附件:index.zip