şunun yansıması https://github.com/therootcompany/greenlock.js
25'ten fazla konu seçemezsiniz
Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
18 satır
410 B
18 satır
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);
|
|
});
|
|
|