{
session: {
maxAge: 88888888,
key: 'asfmk235m9dfgj3224n60fgh',
httpOnly: true,
encrypt: true,
renew: true,
overwrite: true,
signed: true,
autoCommit: true,
encode: [Function: encode],
decode: [Function: decode],
genid: <ref *1> [Function: v4] { v1: [Function: v1], v4: [Circular *1] }
},
security: {
domainWhiteList: [],
protocolWhiteList: [],
defaultMiddleware: 'csrf,hsts,methodnoallow,noopen,nosniff,csp,xssProtection,xframe,dta',
csrf: {
enable: true,
type: 'ctoken',
ignoreJSON: false,
useSession: false,
cookieName: 'csrfToken',
sessionName: 'csrfToken',
headerName: 'x-csrf-token',
bodyName: '_csrf',
queryName: '_csrf',
refererWhiteList: [],
ignore: [Array],
matching: [Function: pathMatch]
},
xframe: {
enable: true,
value: 'SAMEORIGIN',
matching: [Function (anonymous)]
},
hsts: { enable: false, maxAge: 88888888, includeSubdomains: false },
dta: { enable: true, matching: [Function (anonymous)] },
methodnoallow: { enable: true, matching: [Function (anonymous)] },
noopen: { enable: true, matching: [Function (anonymous)] },
nosniff: { enable: true, matching: [Function (anonymous)] },
referrerPolicy: { enable: false, value: 'no-referrer-when-downgrade' },
xssProtection: {
enable: true,
value: '1; mode=block',
matching: [Function (anonymous)]
},
csp: { enable: false, policy: {} },
ssrf: { ipBlackList: null, checkAddress: null },
_protocolWhiteListSet: Set(4) { 'http', 'https', 'file', 'data' }
},
helper: { shtml: {} },
jsonp: { limit: 50, callback: [ '_callback', 'callback' ], csrf: false },
onerror: {
errorPageUrl: '',
appErrorFilter: null,
templatePath: '/wwwroot/tenggong/node_modules/egg-onerror/lib/onerror_'
},
i18n: {
defaultLocale: 'en_US',
dirs: [
'/wwwroot/tenggong/node_modules/egg-session/config/locales',
'/wwwroot/tenggong/node_modules/egg-security/config/locales',
'/wwwroot/tenggong/node_modules/egg-jsonp/config/locales',
'/wwwroot/tenggong/node_modules/egg-onerror/config/locales',
'/wwwroot/tenggong/node_modules/egg-i18n/config/locales',
'/wwwroot/tenggong/node_modules/egg-watcher/config/locales',
'/wwwroot/tenggong/node_modules/egg-schedule/config/locales',
'/wwwroot/tenggong/node_modules/egg-multipart/config/locales',
'/wwwroot/tenggong/node_modules/egg-development/config/locales',
'/wwwroot/tenggong/node_modules/egg-logrotator/config/locales',
'/wwwroot/tenggong/node_modules/egg-static/config/locales',
'/wwwroot/tenggong/node_modules/egg-view/config/locales',
'/wwwroot/tenggong/node_modules/egg-view-arttemplate/config/locales',
'/wwwroot/tenggong/node_modules/egg-mongoose/config/locales',
'/wwwroot/tenggong/node_modules/egg/config/locales',
'/wwwroot/tenggong/config/locales'
],
queryField: 'locale',
cookieField: 'locale',
cookieDomain: '',
cookieMaxAge: '1y',
functionName: '__'
},
watcher: {
type: 'development',
eventSources: {
default: '/wwwroot/tenggong/node_modules/egg-watcher/lib/event-sources/default',
development: '/wwwroot/tenggong/node_modules/egg-watcher/lib/event-sources/development'
}
},
customLogger: {
scheduleLogger: { consoleLevel: 'NONE', file: '' }
},
schedule: { directory: [] },
multipart: {
mode: 'stream',
autoFields: false,
defaultCharset: 'utf8',
fieldNameSize: 100,
fieldSize: 102400,
fields: 10,
fileSize: 88888888,
files: 10,
fileExtensions: [],
whitelist: null,
tmpdir: '/tmp/egg-multipart-tmp/chcms3.8',
cleanSchedule: { cron: '0 30 4 * * *' }
},
development: {
watchDirs: [],
ignoreDirs: [],
fastReady: false,
reloadOnDebug: true,
overrideDefault: false
},
logrotator: {
filesRotateByHour: null,
hourDelimiter: '-',
filesRotateBySize: null,
maxFileSize: 88888888,
maxFiles: 10,
rotateDuration: 60000,
maxDays: 31
},
static: {
prefix: '/public/',
dir: '/wwwroot/tenggong/app/public',
dynamic: true,
preload: false,
buffer: false,
maxFiles: 1000
},
view: {
root: [ '/wwwroot/tenggong/app/view' ],
cache: false,
defaultExtension: '.html',
defaultViewEngine: '',
mapping: { '.html': 'arttemplate' }
},
arttemplate: {
filename: null,
escape: true,
debug: false,
bail: true,
cache: true,
minimize: true,
compileDebug: false,
root: '/wwwroot/tenggong/app/view',
extname: '.html',
ignore: []
},
mongoose: {
url: '',
options: {},
plugins: [],
loadModel: true,
app: true,
agent: false,
client: {
url: 'mongodb://tenggong:tenggong888@127.0.0.1:27017/tenggong',
options: [Object]
}
},
env: 'local',
name: 'chcms3.8',
keys: 'chcms3.8_8888888875481_148',
proxy: false,
maxProxyCount: 0,
protocolHeaders: 'x-forwarded-proto',
ipHeaders: 'x-forwarded-for',
hostHeaders: '',
pkg: {
name: 'chcms3.8',
version: '3.8.2',
description: '',
private: true,
egg: { declarations: true },
dependencies: {
'await-stream-ready': '^1.0.1',
bcryptjs: '^2.4.3',
egg: '^2.15.1',
'egg-mongoose': '^3.2.0',
'egg-scripts': '^2.11.0',
'egg-view-arttemplate': '^2.0.2',
exceljs: '^1.15.0',
lodash: '^4.17.15',
md5: '^2.2.1',
'mint-filter': '^1.1.8',
nodemailer: '^6.3.0',
sha1: '^1.1.1',
'silly-datetime': '^0.1.2',
'stream-to-array': '^2.3.0',
'stream-wormhole': '^1.1.0',
'string-random': '^0.1.3',
urlencode: '^1.1.0',
validator: '^11.1.0'
},
devDependencies: {
autod: '^3.0.1',
'autod-egg': '^1.1.0',
'egg-bin': '^4.11.0',
'egg-ci': '^1.11.0',
'egg-mock': '^3.21.0',
eslint: '^5.13.0',
'eslint-config-egg': '^7.1.0'
},
engines: { node: '>=10.0.0' },
scripts: {
start: 'egg-scripts start --port=7001 --daemon --title=egg-manage --ignore-stderr',
stop: 'egg-scripts stop',
dev: 'egg-bin dev',
debug: 'egg-bin debug',
test: 'npm run lint -- --fix && npm run test-local',
'test-local': 'egg-bin test',
cov: 'egg-bin cov',
lint: 'eslint .',
ci: 'npm run lint && npm run cov',
autod: 'autod'
},
ci: { version: '10' },
repository: { type: 'git', url: '' },
author: 'Hello World',
license: 'MIT'
},
baseDir: '/wwwroot/tenggong',
HOME: '/root',
rundir: '/wwwroot/tenggong/run',
dump: {
ignore: Set(9) {
'pass',
'pwd',
'passd',
'passwd',
'password',
'keys',
'masterKey',
'accessKey',
/secret/i
}
},
confusedConfigurations: {
bodyparser: 'bodyParser',
notFound: 'notfound',
sitefile: 'siteFile',
middlewares: 'middleware',
httpClient: 'httpclient'
},
notfound: { pageUrl: '' },
siteFile: {
'/': <Buffer 00 00 01 00 01 00 10 10 00 00 01 00 20 00 68 04 00 00 16 00 00 00 28 00 00 00 10 00 00 00 20 00 00 00 01 00 20 00 00 00 00 00 00 04 00 00 00 00 00 00 ... 1100 more bytes>
},
bodyParser: {
enable: true,
encoding: 'utf8',
formLimit: '100kb',
jsonLimit: '100kb',
strict: true,
queryString: {
arrayLimit: 100,
depth: 5,
parameterLimit: 1000,
allowDots: true
},
onerror: undefined,
detectJSON: undefined,
returnRawBody: true
},
logger: {
dir: '/wwwroot/tenggong/logs/chcms3.8',
encoding: 'utf8',
env: 'local',
level: 'INFO',
consoleLevel: 'INFO',
disableConsoleAfterReady: false,
outputJSON: false,
buffer: true,
appLogName: 'chcms3.8',
coreLogName: '',
agentLogName: '',
errorLogName: '',
coreLogger: { consoleLevel: 'WARN' },
allowDebugAtProd: false,
type: 'application'
},
httpclient: {
enableDNSCache: false,
dnsCacheLookupInterval: 10000,
dnsCacheMaxLength: 1000,
request: { timeout: 5000 },
httpAgent: {
keepAlive: true,
freeSocketTimeout: 4000,
maxSockets: 8888888888888888,
maxFreeSockets: 256
},
httpsAgent: {
keepAlive: true,
freeSocketTimeout: 4000,
maxSockets: 8888888888888888,
maxFreeSockets: 256
}
},
meta: { enable: true, logging: false },
coreMiddleware: [
'meta',
'siteFile',
'notfound',
'static',
'bodyParser',
'overrideMethod',
'session',
'securities',
'i18n',
'eggLoaderTrace'
],
workerStartTimeout: 600000,
serverTimeout: null,
cluster: { listen: { path: '', port: 1018, hostname: 'localhost' } },
clusterClient: { maxWaitTime: 60000, responseTimeout: 60000 },
onClientError: null,
middleware: [ 'gzip', 'tmeplateState' ],
gzip: { threshold: 1024 },
tmeplateState: {
config: {
dbUrl: 'mongodb://tenggong:tenggong888@127.0.0.1:27017/',
dbName: 'tenggong',
siteName: 'CHCMS管理系统',
CMSName: 'CHCMS',
CMSNameVersion: '3.9.0',
JSVersion: 'v=888888881740',
CSSVersion: 'v=888888881740',
CopyRight: '石家庄乘航网络科技有限公司',
AdminDir: '/ch_admin',
UploadDir: '/public/upload/',
UploadImageDir: '/public/upload/image/',
UploadFileDir: '/public/upload/file/',
UploadVideoDir: '/public/upload/video/',
SSL: 'http://',
Mails: [Object],
PowerTree: [Array]
}
},
dbUrl: 'mongodb://tenggong:tenggong888@127.0.0.1:27017/',
dbName: 'tenggong',
siteName: 'CHCMS管理系统',
CMSName: 'CHCMS',
CMSNameVersion: '3.9.0',
JSVersion: 'v=888888881740',
CSSVersion: 'v=888888881740',
CopyRight: '石家庄乘航网络科技有限公司',
AdminDir: '/ch_admin',
UploadDir: '/public/upload/',
UploadImageDir: '/public/upload/image/',
UploadFileDir: '/public/upload/file/',
UploadVideoDir: '/public/upload/video/',
SSL: 'http://',
Mails: { service: '126', user: 'xxxx@126.com', pass: 'xxxxx' },
PowerTree: [
{ label: '内容管理', children: [Array] },
{ label: '财务管理', children: [Array] },
{ label: '用户管理', children: [Array] },
{ label: '系统设置', children: [Array] },
{ label: '其他', children: [Array] },
{ label: '标签', children: [Array] }
],
coreMiddlewares: [
'meta',
'siteFile',
'notfound',
'static',
'bodyParser',
'overrideMethod',
'session',
'securities',
'i18n',
'eggLoaderTrace'
],
appMiddlewares: [ 'gzip', 'tmeplateState' ],
appMiddleware: [ 'gzip', 'tmeplateState' ],
multipartParseOptions: {
autoFields: false,
defCharset: 'utf8',
limits: {
fieldNameSize: 100,
fieldSize: 102400,
fields: 10,
fileSize: 88888888,
files: 10
},
checkFile: [Function: checkFile]
}
}