|
配置文件模版位置 o2server/config/sample/node_127.0.0.1.json
将配置文件复制到o2server/config/node_127.0.0.1.json
{
"enable": true,
"port":null,
"sslEnable":false,
"logLevel":"warn",
"isPrimaryCenter": true,
"application": {
"enable": true,
"port": null, # 这个是应用服务器端口,默认为20020
"sslEnable": false,
"proxyHost": "",
"proxyPort": null,
"forceRedeploy": true,
"scanInterval":5,
"includes":[],
"excludes":[]
},
"web": {
"enable": true,
"port": null, # 这个是应用服务器端口,默认为80
"sslEnable": false,
"proxyHost": "",
"proxyPort": null,
"forceRedeploy": true
},
"storage": {
"enable": true,
"port": null, # 这个是文件服务器端口,默认为20040
"sslEnable": false,
"name" : ""
},
"data": {
"enable": true,
"tcpPort": null,
"webPort": null,
"includes": [],
"excludes": []
}
}
web 服务器默认端口为80
应用服务器默认端口为20020 |
|