greenlock-express.js/config.js

21 lines
468 B
JavaScript
Raw Permalink Normal View History

2019-06-03 09:47:07 +00:00
"use strict";
2019-04-04 06:35:15 +00:00
2019-06-03 09:47:07 +00:00
var path = require("path");
2019-04-04 06:35:15 +00:00
module.exports = {
2019-11-01 21:14:07 +00:00
email: "jon.doe@example.com",
configDir: path.join(__dirname, "acme"),
srv: "/srv/www/",
api: "/srv/api/",
proxy: {
"example.com": "http://localhost:4080",
"*.example.com": "http://localhost:4080"
},
2019-11-01 21:14:07 +00:00
// DNS-01 challenges only
challenges: {
"*.example.com": require("acme-dns-01-YOUR_DNS_HOST").create({
token: "xxxx"
})
}
2019-04-04 06:35:15 +00:00
};