mirror of
https://github.com/ehang-io/nps.git
synced 2025-08-31 09:36:57 +00:00
健康检查
This commit is contained in:
@@ -1 +1,2 @@
|
||||
a.o.com,127.0.0.1:8082,2,,,111,/,3,5290945,30260,all
|
||||
a.o.com,127.0.0.1:8082,2,,,111,/,3,5290945,32285,http
|
||||
a.o.com,127.0.0.1:8080,2,,,,/,4,0,0,https
|
||||
|
|
@@ -1,16 +1,25 @@
|
||||
[common]
|
||||
server=127.0.0.1:8024
|
||||
server={{.NPS_SERVER_ADDR}}
|
||||
tp=tcp
|
||||
vkey=123
|
||||
vkey={{.NPS_SERVER_VKEY}}
|
||||
auto_reconnection=true
|
||||
[web]
|
||||
host=b.o.com
|
||||
target=127.0.0.1:8082
|
||||
health_check_timeout = 3
|
||||
health_check_max_failed = 3
|
||||
health_check_interval = 10
|
||||
health_http_url=/
|
||||
|
||||
[tcp]
|
||||
mode=tcp
|
||||
target=8006-8010,8012
|
||||
port=9006-9010,9012
|
||||
targetAddr=123.206.77.88
|
||||
health_check_timeout = 3
|
||||
health_check_max_failed = 3
|
||||
health_check_interval = 10
|
||||
health_http_url=/
|
||||
|
||||
[socks5]
|
||||
mode=socks5
|
||||
|
@@ -2,13 +2,11 @@ appname = nps
|
||||
#Boot mode(dev|pro)
|
||||
runmode = dev
|
||||
|
||||
#Web API unauthenticated IP address
|
||||
#auth_key=test
|
||||
#auth_crypt_key =1234567812345678
|
||||
|
||||
|
||||
#HTTP(S) proxy port, no startup if empty
|
||||
http_proxy_port=80
|
||||
https_proxy_port=445
|
||||
https_proxy_port=443
|
||||
#certFile absolute path
|
||||
pem_path=conf/server.pem
|
||||
#KeyFile absolute path
|
||||
@@ -43,5 +41,8 @@ web_username=admin
|
||||
web_password=123
|
||||
web_port = 8080
|
||||
web_ip=0.0.0.0
|
||||
#Web API unauthenticated IP address
|
||||
auth_key=test
|
||||
auth_crypt_key =1234567812345678
|
||||
|
||||
#allow_ports=9001-9009,10001,11000-12000
|
@@ -1,2 +1,4 @@
|
||||
8025,socks5,,1,1,2,,0,0,
|
||||
8026,httpProxy,,1,2,2,,0,0,
|
||||
8001,tcp,"127.0.0.1:8080
|
||||
127.0.0.1:8082",1,3,5,,0,0,
|
||||
|
|
Reference in New Issue
Block a user