Skip to content

Commit

Permalink
[Fix] πŸ› Frp bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Aug 17, 2023
1 parent e25274c commit 49db6bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ elif [ "$TYPE" == "FRP" ]; then
wget -q https://github.com/fatedier/frp/releases/download/v0.51.3/frp_0.51.3_linux_amd64.tar.gz
tar -xzf frp_0.51.3_linux_amd64.tar.gz
mv ./frp_0.51.3_linux_amd64/frpc ./frpc && chmod +x ./frpc
echo `[common]
cat >./frpc.ini<<EOF
[common]
server_addr = $FRP_ADDRESS
server_port = $FRP_PORT
user = $FRP_USER
Expand All @@ -34,7 +35,7 @@ plugin = https2http
plugin_local_addr = 127.0.0.1:8080
plugin_host_header_rewrite = 127.0.0.1
plugin_header_X-From-Where = frp
` > ./frpc.ini
EOF
sudo ./frpc -c ./frpc.ini
fi
echo Setting Up Frp
Expand Down

0 comments on commit 49db6bf

Please sign in to comment.