nps/conf/nps.conf

49 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-02-03 09:25:00 +00:00
appname = nps
2019-02-09 09:07:47 +00:00
#Boot mode(dev|pro)
2019-01-09 12:33:00 +00:00
runmode = dev
2019-01-02 17:44:45 +00:00
2019-03-07 10:07:53 +00:00
2019-03-05 01:23:18 +00:00
#HTTP(S) proxy port, no startup if empty
http_proxy_port=80
2019-03-15 06:03:49 +00:00
#https_proxy_port=8024
2019-03-05 01:23:18 +00:00
#certFile absolute path
pem_path=conf/server.pem
#KeyFile absolute path
key_path=conf/server.key
##bridge
bridge_type=tcp
bridge_port=8024
bridge_ip=0.0.0.0
2019-02-12 19:54:00 +00:00
# Public password, which clients can use to connect to the server
# After the connection, the server will be able to open relevant ports and parse related domain names according to its own configuration file.
2019-03-05 01:23:18 +00:00
public_vkey=123
2019-02-12 19:54:00 +00:00
2019-02-23 15:29:48 +00:00
#Traffic data persistence interval(minute)
#Ignorance means no persistence
2019-03-05 01:23:18 +00:00
#flow_store_interval=1
2019-02-23 15:29:48 +00:00
2019-03-05 01:23:18 +00:00
# log level LevelEmergency->0 LevelAlert->1 LevelCritical->2 LevelError->3 LevelWarning->4 LevelNotice->5 LevelInformational->6 LevelDebug->7
2019-03-15 06:03:49 +00:00
log_level=7
2019-02-24 05:17:43 +00:00
#Whether to restrict IP access, true or false or ignore
2019-03-05 01:23:18 +00:00
#ip_limit=true
2019-02-24 05:17:43 +00:00
2019-03-05 01:23:18 +00:00
#p2p
#p2p_ip=127.0.0.1
#p2p_port=6000
2019-03-05 01:23:18 +00:00
#web
2019-03-15 06:03:49 +00:00
web_host=a.o.com
2019-03-05 01:23:18 +00:00
web_username=admin
web_password=123
web_port = 8080
web_ip=0.0.0.0
2019-03-07 10:07:53 +00:00
#Web API unauthenticated IP address
auth_key=test
auth_crypt_key =1234567812345678
2019-03-15 06:03:49 +00:00
#allow_ports=9001-9009,10001,11000-12000