web-servo
Version:
Node HTTP web server that can execute node JS scripts
42 lines • 793 B
JSON
{
"server": {
"port": "80",
"dir": "www/"
},
"page": {
"default": "index.html",
"script": "node.js",
"error": {
"401": "page/401.html",
"404": "page/404.html",
"500": "page/500.html"
}
},
"url": {
"/not-here.html": {
"alias": "test.html"
},
"/alias-recursion-1.html": {
"alias": "alias-recursion-2.html"
},
"/alias-recursion-2.html": {
"alias": "alias-recursion-1.html"
}
},
"log": {
"access": {
"enabled": true,
"path": "log/access.log",
"console": false
},
"error": {
"debug": true,
"enabled": true,
"path": "log/error.log",
"console": true
},
"warning": {
"enabled": true
}
}
}