http
a resource for creating and configuring express http servers
Features
- Easily configurable through simple options hash
- Based on latest Express 4.x.x
- Static File Support
- Session Support
- Custom Web Domain support
- HTTPS / SSL / Enforce SSL / Only SSL options
- Websockets
- OAuth Single Sign On through Passport
- View Support through View module
- Body Parser / File Uploads
- Auto-port detection
- i18n support through 18n-2
- Has ability to white-label multiple Views and domains onto single site
Example
see: ./examples/server.js
var http = ; // all options are optional and will default to a reasonable value if left unsethttp;
Warning:
The nodeinfo
and nodeadmin
boolean options should not be set to true
on unsecured servers, as they may expose sensitive systems information.