mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 07:35:07 +00:00
all: add use_gzip configure and some improvements, see #28
This commit is contained in:
@@ -11,8 +11,10 @@ type = tcp
|
||||
local_ip = 127.0.0.1
|
||||
local_port = 10701
|
||||
use_encryption = true
|
||||
use_gzip = true
|
||||
|
||||
[web]
|
||||
type = http
|
||||
local_ip = 127.0.0.1
|
||||
local_port = 10702
|
||||
use_gzip = true
|
||||
|
@@ -12,19 +12,19 @@ do
|
||||
sleep 1
|
||||
str=`ss -ant|grep 10700|grep LISTEN`
|
||||
if [ -z "${str}" ]; then
|
||||
echo "kong"
|
||||
echo "wait"
|
||||
continue
|
||||
fi
|
||||
|
||||
str=`ss -ant|grep 10710|grep LISTEN`
|
||||
if [ -z "${str}" ]; then
|
||||
echo "kong"
|
||||
echo "wait"
|
||||
continue
|
||||
fi
|
||||
|
||||
str=`ss -ant|grep 10711|grep LISTEN`
|
||||
if [ -z "${str}" ]; then
|
||||
echo "kong"
|
||||
echo "wait"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user