🔐 Free SSL, Free Wildcard SSL, and Fully Automated HTTPS for node.js, issued by Let's Encrypt v2 via ACME
https://git.rootprojects.org/root/greenlock.js
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.
20 lines
461 B
20 lines
461 B
'use strict';
|
|
|
|
var app = require('./app.js');
|
|
|
|
require('greenlock-express')
|
|
.init({
|
|
packageRoot: __dirname,
|
|
|
|
// contact for security and critical bug notices
|
|
//maintainerEmail: pkg.author,
|
|
|
|
// where to look for configuration
|
|
configDir: './greenlock.d',
|
|
|
|
// whether or not to run at cloudscale
|
|
cluster: false
|
|
})
|
|
// Serves on 80 and 443
|
|
// Get's SSL certificates magically!
|
|
.serve(app);
|
|
|