1.0.14 • Published 8 years ago

vhost-easy v1.0.14

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

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago