1.0.14 • Published 9 years ago

vhost-easy v1.0.14

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

vhost-easy

This library takes all of the ball-ache out of using virtual hosting with express/connect.

It lets you easily spin up multiple web-apps with seperate domains on the same server over HTTP and HTTPS

Usage

Usage is very straightforward

const manager = new require( "vhost-easy" )();

manager.attach({
    app      : express.static( pathToDir ),
    hostname : [ "foobar.dev", "google.com" ],
    port     : 8080,
});

manager.attach( 
    app      : express.static( pathToDir ),
    hostname : "gubbins.dev",
    port     : 8443,
    secure   : true,
    key      : sslKeyData,
    cert     : sslCertData
});
1.0.14

9 years ago

1.0.13

9 years ago

1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago