Skip to content

Commit

Permalink
0.0.22
Browse files Browse the repository at this point in the history
节点名称包含IP地址前缀
  • Loading branch information
wulabing committed Sep 26, 2024
1 parent 35389c9 commit 3b946c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reality/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# builder
FROM golang:alpine as builder
LABEL maintainer="wulabing <wulabing@gmail.com>"
LABEL version="0.0.21"
LABEL version="0.0.22"


#ENV GOPROXY=https://goproxy.cn,direct
Expand Down
4 changes: 2 additions & 2 deletions reality/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ else
echo "PUBLICKEY: $PUBLICKEY" >>/config_info.txt
echo "NETWORK: $NETWORK" >>/config_info.txt
if [ "$IPV4" != "null" ]; then
SUB_IPV4="vless://$UUID@$IPV4:$EXTERNAL_PORT?encryption=none&security=reality&type=$NETWORK&sni=$FIRST_SERVERNAME&fp=chrome&pbk=$PUBLICKEY&flow=xtls-rprx-vision#wulabing_docker_vless_reality_vision"
SUB_IPV4="vless://$UUID@$IPV4:$EXTERNAL_PORT?encryption=none&security=reality&type=$NETWORK&sni=$FIRST_SERVERNAME&fp=chrome&pbk=$PUBLICKEY&flow=xtls-rprx-vision#${IPV4}-wulabing_docker_vless_reality_vision"
echo "IPV4 订阅连接: $SUB_IPV4" >>/config_info.txt
echo -e "IPV4 订阅二维码:\n$(echo "$SUB_IPV4" | qrencode -o - -t UTF8)" >>/config_info.txt
fi
if [ "$IPV6" != "null" ];then
SUB_IPV6="vless://$UUID@$IPV6:$EXTERNAL_PORT?encryption=none&security=reality&type=$NETWORK&sni=$FIRST_SERVERNAME&fp=chrome&pbk=$PUBLICKEY&flow=xtls-rprx-vision#wulabing_docker_vless_reality_vision"
SUB_IPV6="vless://$UUID@$IPV6:$EXTERNAL_PORT?encryption=none&security=reality&type=$NETWORK&sni=$FIRST_SERVERNAME&fp=chrome&pbk=$PUBLICKEY&flow=xtls-rprx-vision#${IPV6}-wulabing_docker_vless_reality_vision"
echo "IPV6 订阅连接: $SUB_IPV6" >>/config_info.txt
echo -e "IPV6 订阅二维码:\n$(echo "$SUB_IPV6" | qrencode -o - -t UTF8)" >>/config_info.txt
fi
Expand Down

0 comments on commit 3b946c1

Please sign in to comment.