2015-12-16 22:34:01 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
//var le = require('letsencrypt-express');
|
2015-12-17 05:08:14 +00:00
|
|
|
var le = require('../').testing();
|
2015-12-16 22:34:01 +00:00
|
|
|
var express = require('express');
|
|
|
|
var app = express();
|
|
|
|
|
|
|
|
app.use(function (req, res) {
|
|
|
|
res.send({ success: true });
|
|
|
|
});
|
|
|
|
|
2015-12-17 05:08:14 +00:00
|
|
|
le.create('./letsencrypt.config', app).listen([80], [443, 5001]);
|