🔐 Free SSL, Free Wildcard SSL, and Fully Automated HTTPS for node.js, issued by Let's Encrypt v2 via ACME. Issues and PRs on Github.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
'use strict';
|
|
|
|
|
|
|
|
require('greenlock-express')
|
|
|
|
.init(function() {
|
|
|
|
return {
|
|
|
|
greenlock: require('./greenlock.js'),
|
|
|
|
|
|
|
|
// whether or not to run at cloudscale
|
|
|
|
cluster: false
|
|
|
|
};
|
|
|
|
})
|
|
|
|
.ready(function(glx) {
|
|
|
|
var app = require('./app.js');
|
|
|
|
|
|
|
|
// Serves on 80 and 443
|
|
|
|
// Get's SSL certificates magically!
|
|
|
|
glx.serveApp(app);
|
|
|
|
});
|