mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 11:56:53 +00:00
Code optimization
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
[common]
|
||||
server=127.0.0.1:8024
|
||||
tp=tcp
|
||||
vkey=2dyy78gj7b9zw09l
|
||||
vkey=123
|
||||
auto_reconnection=true
|
||||
[web]
|
||||
host=b.o.com
|
||||
target=10.1.50.203:80
|
||||
|
||||
[health_check_test1]
|
||||
health_check_timeout=1
|
||||
@@ -21,7 +18,9 @@ health_check_max_failed=3
|
||||
health_check_interval=1
|
||||
health_check_type=tcp
|
||||
health_check_target=127.0.0.1:8083,127.0.0.1:8082
|
||||
|
||||
[web]
|
||||
host=b.o.com
|
||||
target=127.0.0.1:8080
|
||||
|
||||
[tcp]
|
||||
mode=tcp
|
||||
@@ -40,26 +39,20 @@ port=9004
|
||||
|
||||
[file]
|
||||
mode=file
|
||||
port=9100
|
||||
port=9009
|
||||
local_path=./
|
||||
strip_pre=/web/
|
||||
|
||||
[s_ssh]
|
||||
mode=secret
|
||||
password=1234
|
||||
target=123.206.77.88:22
|
||||
|
||||
[udp]
|
||||
mode=udp
|
||||
port=53
|
||||
target=114.114.114.114:53
|
||||
|
||||
[p2p_ssh]
|
||||
port=2001
|
||||
password=p2pssh
|
||||
target=123.206.77.88:22
|
||||
|
||||
|
||||
[secret_ssh]
|
||||
port=2001
|
||||
password=sec
|
||||
|
||||
[p2p_ssh]
|
||||
port=2002
|
||||
password=1234
|
||||
password=c
|
||||
target=123.206.77.88:22
|
Reference in New Issue
Block a user