diff --git a/README.md b/README.md index b29c19e..729b156 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ - 回落使用nginx,配置wordpress ## install.sh使用 -bash <(curl -Ls https://raw.githubusercontent.com/atrandys/xray/main/install.sh) +bash <(curl -Ls https://raw.githubusercontent.com/kepy909/xray-1/main/install.sh) ## install_wp.sh使用 -bash <(curl -Ls https://raw.githubusercontent.com/atrandys/xray/main/install_wp.sh) +bash <(curl -Ls https://raw.githubusercontent.com/kepy909/xray-1/main/install_wp.sh) ## client使用 - OpenWrt diff --git a/install.sh b/install.sh index 8dbd03c..274ee84 100644 --- a/install.sh +++ b/install.sh @@ -193,6 +193,9 @@ EOF systemctl restart nginx.service green "$(date +"%Y-%m-%d %H:%M:%S") - 使用acme.sh申请https证书." curl https://get.acme.sh | sh + blue "输入证书申请邮箱:" + read your_email + ~/.acme.sh/acme.sh --register-account -m $your_email ~/.acme.sh/acme.sh --issue -d $your_domain --webroot /usr/share/nginx/html/ if test -s /root/.acme.sh/$your_domain/fullchain.cer; then green "$(date +"%Y-%m-%d %H:%M:%S") - 申请https证书成功." @@ -315,8 +318,8 @@ cat > /usr/local/etc/xray/client.json<<-EOF EOF if [ -d "/usr/share/nginx/html/" ]; then cd /usr/share/nginx/html/ && rm -f ./* - wget https://github.com/atrandys/trojan/raw/master/fakesite.zip - unzip -o fakesite.zip + wget https://github.com/HFIProgramming/mikutap/archive/refs/tags/2.0.0.zip + unzip -o mikutap-2.0.0.zip fi systemctl enable xray.service sed -i "s/User=nobody/User=root/;" /etc/systemd/system/xray.service @@ -339,6 +342,7 @@ id:${v2uuid} 底层传输:xtls 跳过证书验证:false } +导入链接:vless://${v2uuid}@${your_domain}:443?security=xtls&flow=xtls-rprx-direct#XTLS-${your_domain}-{$real_addr} EOF green "== 安装完成."