nurl/server.js
Martin Donnelly 754f3b9810 New svelte based UI
New letsencrypt enabling server.js

Archived version of original article
2020-04-17 14:27:14 +01:00

19 lines
402 B
JavaScript

'use strict';
var app = require('./app.js');
require('greenlock-express')
.init({
'packageRoot': __dirname,
'configDir': './greenlock.d',
// contact for security and critical bug notices
'maintainerEmail': 'martind2000@gmail.com',
// whether or not to run at cloudscale
'cluster': false
})
// Serves on 80 and 443
// Get's SSL certificates magically!
.serve(app);