Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
18 righe
410 B
18 righe
410 B
'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);
|
|
});
|
|
|