网友 Jianrry 说:
这个问题已经困扰我3天了,一直没有解决,请教一下各位18cm的mjj该如何解决这个问题。
我使用了 docker compose 部署了 V2Ray 的 vme** + tls + ws 方案,容器可以正常运行,却一直无法连接。
下面的是我的配置文件,麻烦帮忙看一下,配置是否出错了。
docker-compose.yml (docker compose 配置文件)
- version: ‘3’
- *******s:
- nginx:
- # 镜像
- image: nginx
- # 容器名
- container_name: nginx
- # 端口
- ports:
- # 80 端口
- – &*uot;80:80&*uot;
- # 443 端口
- – &*uot;443:443&*uot;
- # 数据卷
- volumes:
- # Nginx 配置文件夹
- – &*uot;./nginx/config:/etc/nginx/conf.d&*uot;
- # Nginx 站点的根目录
- – &*uot;./nginx/html:/html&*uot;
- # Nginx 日志文件夹
- – &*uot;./nginx/log:/log&*uot;
- # SSL **文件夹
- – &*uot;./nginx/**l:/**l&*uot;
- # 在容器退出时,总是重启容器
- restart: always
- v2ray:
- # 镜像
- image: v2ray/official
- # 容器名
- container_name: v2ray
- # 数据卷
- volumes:
- # V2Ray 配置文件
- – ./v2ray/config/config.json:/etc/v2ray/config.json
- # V2Ray 访问日志文件
- – ./v2ray/log/acce**.log:/var/log/v2ray/acce**.log
- # V2Ray 错误日志文件
- – ./v2ray/log/er**r.log:/var/log/v2ray/er**r.log
- # 在容器退出时,总是重启容器
- restart: always
网友 摩卡 说:
*帖最后由 摩卡 于 2022-7-20 10:56 编辑
看下nginx的日志 有没有转发到v2容器
另外我看v2容器没有配置端口号 你配置下端口映*规则试试?
网友 toot 说:
用aapanrl面板吧。方便**https://daima.eu.org/post/**-v2ray/
未经允许不得转载:爱主机 » [疑问]
V2Ray 一直无法连接,有报错**
爱主机