1.0.14 • Published 7 years ago

vhost-easy v1.0.14

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago