mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed user IP filtering when using reverse-proxy + updated Let's Encrypt URLs.
This commit is contained in:
parent
aa92f4c2a2
commit
f70b3249a5
4 changed files with 43 additions and 24 deletions
|
@ -42,7 +42,7 @@ module.exports.CreateLetsEncrypt = function (parent) {
|
|||
// Create the main GreenLock code module.
|
||||
var greenlockargs = {
|
||||
version: 'draft-12',
|
||||
server: (obj.parent.config.letsencrypt.production === true) ? greenlock.productionServerUrl : greenlock.stagingServerUrl,
|
||||
server: (obj.parent.config.letsencrypt.production === true) ? 'https://acme-v02.api.letsencrypt.org/directory' : 'https://acme-staging-v02.api.letsencrypt.org/directory',
|
||||
store: leStore,
|
||||
challenges: { 'http-01': leHttpChallenge },
|
||||
challengeType: 'http-01',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue