feat:添加nps到列表
This commit is contained in:
100
apps/nps/latest/conf/nps.conf
Normal file
100
apps/nps/latest/conf/nps.conf
Normal file
@@ -0,0 +1,100 @@
|
||||
appname = nps
|
||||
#Boot mode(dev|pro)
|
||||
runmode = pro
|
||||
|
||||
#HTTP(S) proxy port, no startup if empty
|
||||
http_proxy_ip=${NPS_HTTP_PROXY_IP}
|
||||
http_proxy_port=${NPS_HTTP_PROXY_PORT}
|
||||
https_proxy_port=${NPS_HTTPS_PROXY_PORT}
|
||||
https_just_proxy=true
|
||||
#default https certificate setting
|
||||
https_default_cert_file=server.pem
|
||||
https_default_key_file=server.key
|
||||
|
||||
##bridge
|
||||
bridge_type=tcp
|
||||
bridge_port=${NPS_BRIDGE_PORT}
|
||||
bridge_ip=0.0.0.0
|
||||
|
||||
# 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.
|
||||
public_vkey=${NPS_PUBLIC_VKEY}
|
||||
|
||||
#Traffic data persistence interval(minute)
|
||||
#Ignorance means no persistence
|
||||
#flow_store_interval=1
|
||||
|
||||
# log level LevelEmergency->0 LevelAlert->1 LevelCritical->2 LevelError->3 LevelWarning->4 LevelNotice->5 LevelInformational->6 LevelDebug->7
|
||||
log_level=7
|
||||
#log_path=nps.log
|
||||
|
||||
#Whether to restrict IP access, true or false or ignore
|
||||
#ip_limit=true
|
||||
|
||||
#p2p
|
||||
#p2p_ip=127.0.0.1
|
||||
#p2p_port=6000
|
||||
|
||||
#web
|
||||
web_host=${NPS_WEB_HOST}
|
||||
web_username=${NPS_WEB_USERNAME}
|
||||
web_password=${NPS_WEB_PASSWORD}
|
||||
web_port = ${NPS_WEB_PORT}
|
||||
web_ip=0.0.0.0
|
||||
web_base_url=
|
||||
web_open_ssl=${NPS_WEB_OPEN_SSL}
|
||||
web_cert_file=${NPS_DEFAULT_CERT_FILE}
|
||||
web_key_file=${NPS_DEFAULT_KEY_FILE}
|
||||
# if web under proxy use sub path. like http://host/nps need this.
|
||||
#web_base_url=/nps
|
||||
|
||||
#Web API unauthenticated IP address(the len of auth_crypt_key must be 16)
|
||||
#Remove comments if needed
|
||||
#auth_key=test
|
||||
#<23><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>authKeyʱ<79><CAB1>aes<65><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Կ<EFBFBD><D4BF>16λ
|
||||
auth_crypt_key =${NPS_AUTH_CRYPT_KEY}
|
||||
|
||||
#allow_ports=9001-9009,10001,11000-12000
|
||||
|
||||
#Web management multi-user login
|
||||
allow_user_login=false
|
||||
allow_user_register=false
|
||||
allow_user_change_username=false
|
||||
|
||||
|
||||
#extension
|
||||
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
allow_flow_limit=false
|
||||
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
allow_rate_limit=false
|
||||
#<23>ͻ<EFBFBD><CDBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
allow_tunnel_num_limit=false
|
||||
allow_local_proxy=false
|
||||
#<23>ͻ<EFBFBD><CDBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
allow_connection_num_limit=false
|
||||
#ÿ<><C3BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD>ķ<EFBFBD><C4B7><EFBFBD><EFBFBD>˶˿<CBB6>
|
||||
allow_multi_ip=false
|
||||
system_info_display=false
|
||||
#<23><>ȡ<EFBFBD>û<EFBFBD><C3BB><EFBFBD>ʵip
|
||||
http_add_origin_header=true
|
||||
|
||||
#cache
|
||||
http_cache=false
|
||||
http_cache_length=100
|
||||
|
||||
#get origin ip
|
||||
http_add_origin_header=false
|
||||
|
||||
#pprof debug options
|
||||
#pprof_ip=0.0.0.0
|
||||
#pprof_port=9999
|
||||
|
||||
#client disconnect timeout
|
||||
disconnect_timeout=60
|
||||
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>忪<EFBFBD><E5BFAA><EFBFBD><EFBFBD>֤<EFBFBD><D6A4>У<EFBFBD><D0A3>
|
||||
open_captcha=false
|
||||
|
||||
|
||||
# <20>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>tls
|
||||
tls_enable=${TLS_ENABLE_SWITCH}
|
||||
tls_bridge_port=${NPS_BRIDGE_TLS_PORT}
|
||||
Reference in New Issue
Block a user