Skip to content

Commit

Permalink
更改 Trojan 面板端口并设置伪装站点
Browse files Browse the repository at this point in the history
  • Loading branch information
V2RaySSR authored May 29, 2020
1 parent c765f8c commit bb43a52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trojan-web-panel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ if test -s /etc/nginx/nginx.conf; then
blue " 开始配置trojan-web"
green "================================="
sleep 2s
sed -i '/ExecStart/s/trojan web -p 8080/trojan web/g' /etc/systemd/system/trojan-web.service
sed -i '/ExecStart/s/trojan web/trojan web -p 8080/g' /etc/systemd/system/trojan-web.service
sed -i '/ExecStart/s/trojan web -p 81/trojan web/g' /etc/systemd/system/trojan-web.service
sed -i '/ExecStart/s/trojan web/trojan web -p 81/g' /etc/systemd/system/trojan-web.service
systemctl daemon-reload
systemctl restart trojan-web
systemctl restart nginx
Expand All @@ -89,7 +89,7 @@ if test -s /etc/nginx/nginx.conf; then
blue " 脚本交流电报群:https://goii.cc/tg"
green " "
blue " 伪装站点目录 /usr/share/nginx/html "
blue " 面板管理地址 http://$your_domain:8080 "
blue " 面板管理地址 http://$your_domain:81 "
green "=================================================================="
else
green "==============================="
Expand Down

0 comments on commit bb43a52

Please sign in to comment.