53 lines
1.7 KiB
JSON
53 lines
1.7 KiB
JSON
{
|
|
"autostart" : true,
|
|
"print_format" : "[{type}] {yyyy}{mm}{dd} {hh}{ii}{ss} [{line}]{file}({method}): {message}",
|
|
"exception_format" : " '[{line}]{file}({method})'{lines}\n\n{exception_message}",
|
|
"print_types" : [
|
|
["unkn", "unknown"],
|
|
["info", "information"],
|
|
["warn", "warning"],
|
|
["erro", "error", "wrong", "failure", "fail", "no"],
|
|
["exce", "exception", "except"],
|
|
[" ok ", "ok", "success", "succeed", "yes"],
|
|
["test", "debug"]
|
|
],
|
|
"default_settings_files" : [
|
|
"/JSON/NucelarMonitor.settings.json"
|
|
],
|
|
"default_secrets_files" : [
|
|
"/JSON/NucelarMonitor.secrets.json"
|
|
],
|
|
"web_servers" : {
|
|
"main" : {
|
|
"type" : "web_server",
|
|
"host" : "0.0.0.0",
|
|
"port" : 13000,
|
|
"cache_size" : 1024,
|
|
"maximum_connections" : 5,
|
|
"header_response" : [
|
|
"{protocol}/{version} {code} {message}",
|
|
"Content-Type: {mime}",
|
|
"Content-Length: {length}",
|
|
"Connection: close"
|
|
],
|
|
"protocol" : "HTTP",
|
|
"version" : "1.1",
|
|
"code" : 200,
|
|
"message" : "OK",
|
|
"encoder" : "utf-8",
|
|
"index_files" : ["index.html", "index.htm"]
|
|
}
|
|
},
|
|
"default_controllers" : {
|
|
"agents" : "agents"
|
|
},
|
|
"default_routes" : [
|
|
"post:/agents/debian/{key} debian@agents",
|
|
"post:/agents/windows/{key} windows@agents",
|
|
"get:/agents/test/{key} test@agents",
|
|
"get:/ /Public"
|
|
],
|
|
"dispatchers" : {
|
|
"sql_server_agents" : "sql_server_agents"
|
|
}
|
|
} |