Package Exports
- node-domain-front
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-domain-front) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Node-Domain-Front
A node program to control the behavior of multiple domains and subdomains
Config Example (not implemented yet)
{
"dashboard": {
"enable": true,
"port": 8080,
"allowAdress": ["::1", "127.0.0.1"]
},
"nodes": [
{
"name": "web1",
"role": "http",
"host": "http://julienferluc.com",
"port": 80,
"domain": "127.0.0.1"
},
{
"name": "web2",
"role": "http",
"host": "http://google.ca",
"port": 80,
"domain": "localhost"
}
],
"out": [
{
"domain": "127.0.0.1",
"port": 3000
},
{
"domain": "localhost",
"port": 3000
}
]
}
Availability
The server will automatically ping every endpoint marked in the config file. Endpoints that do not respond will cause the server to show a 404 page on their behalf. Such a file can be modified in the config file. Also, uptime monitoring could be implemented later.