You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
Python
58 lines
1.2 KiB
Python
# Config
|
|
NODE_ID = 1
|
|
|
|
|
|
# hour,set 0 to disable
|
|
SPEEDTEST = 0
|
|
CLOUDSAFE = 0
|
|
ANTISSATTACK = 0
|
|
AUTOEXEC = 0
|
|
|
|
# open node customized method, obfs and protocol in frontend
|
|
NODE_CUSTOM_OBFS = 1
|
|
|
|
# netflix dns proxy using https://dns.30m.cloud/
|
|
USE_NETFLIX_DNS = 0
|
|
NETFLIX_DNS= ''
|
|
|
|
MU_SUFFIX = 'download.windowsupdate.com'
|
|
MU_REGEX = '%5m%id.%suffix'
|
|
|
|
SERVER_PUB_ADDR = '127.0.0.1' # mujson_mgr need this to generate ssr link
|
|
API_INTERFACE = 'glzjinmod' # glzjinmod, modwebapi
|
|
|
|
WEBAPI_URL = 'https://zhaoj.in'
|
|
WEBAPI_TOKEN = 'glzjin'
|
|
|
|
# mudb
|
|
MUDB_FILE = 'mudb.json'
|
|
|
|
# Mysql
|
|
MYSQL_HOST = '127.0.0.1'
|
|
MYSQL_PORT = 3306
|
|
MYSQL_USER = 'ss'
|
|
MYSQL_PASS = 'ss'
|
|
MYSQL_DB = 'shadowsocks'
|
|
|
|
MYSQL_SSL_ENABLE = 0
|
|
MYSQL_SSL_CA = ''
|
|
MYSQL_SSL_CERT = ''
|
|
MYSQL_SSL_KEY = ''
|
|
|
|
# API
|
|
API_HOST = '127.0.0.1'
|
|
API_PORT = 80
|
|
API_PATH = '/mu/v2/'
|
|
API_TOKEN = 'abcdef'
|
|
API_UPDATE_TIME = 60
|
|
|
|
# unlock host
|
|
UNLOCK_HOST = ["netflix", "nflx", "dmm", "abema", "ameblo", "ameba", "bucketeer", "amebame", "hayabusa", "akamaized", 'a-i-ad', 'wovn']
|
|
|
|
# Manager (ignore this)
|
|
MANAGE_PASS = 'ss233333333'
|
|
# if you want manage in other server you should set this value to global ip
|
|
MANAGE_BIND_IP = '127.0.0.1'
|
|
# make sure this port is idle
|
|
MANAGE_PORT = 23333
|