overtls工具
docker run --restart always -p 80:80 -p 443:443 -p 443:443/udp --name overtls -e TUNNEL_PATH=/secret-tunnel-path/ -e OVERTLS_LOG_LEVEL=debug -v /cert:/cert -v /web:/web -itd chengxudong2020/overtls
参数说明: -p 当端口映射到443端口而且开启udp的情况下支持http3 -e TUNNEL_PATH=/secret-tunnel-path/ 可以支持多个路径格式用半角逗号分隔 例如 /secret-tunnel-path/,/secret-tunnel-path2/,/secret-tunnel-path3/ ... 默认为 /secret-tunnel-path/ 请修改 否则出现任何后果自负 -v 证书所在目录 一定要映射到/cert容器目录 证书要目录中必须存在私钥privkey.pem 公钥fullchain.pem 名字不对请改名 -v web静态文件所在目录 其中必须为包含index.php index.html index.htm index.nginx-debian.html 中的任何一个为默认首页 请自己从网上下载之后放入目录重启容器或者新建容器提前放好,映射之后的容器的目录必须是/web -e OVERTLS_LOG_LEVEL 日志级别 可选值为none error info debug trace 默认为 debug
Content type
Image
Digest
sha256:97b502a73…
Size
22.3 MB
Last updated
over 2 years ago
docker pull chengxudong2020/overtls