From 76e3662034776579dec47563db8cd6e805e8e4bc Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Fri, 17 Apr 2020 14:44:46 +0100 Subject: [PATCH] added stuff for letsencrypt --- .../2JbLKffzMbJnGbp-wmU0Pta9WkmJIf--A06WHno-SRM | 0 .../x8AI7hAVNYbfgX67EO4Qbduz0A4comOHWDBhLopTXvo | 0 app.js | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename .well-known/{ => acme-challenge}/2JbLKffzMbJnGbp-wmU0Pta9WkmJIf--A06WHno-SRM (100%) rename .well-known/{ => acme-challenge}/x8AI7hAVNYbfgX67EO4Qbduz0A4comOHWDBhLopTXvo (100%) diff --git a/.well-known/2JbLKffzMbJnGbp-wmU0Pta9WkmJIf--A06WHno-SRM b/.well-known/acme-challenge/2JbLKffzMbJnGbp-wmU0Pta9WkmJIf--A06WHno-SRM similarity index 100% rename from .well-known/2JbLKffzMbJnGbp-wmU0Pta9WkmJIf--A06WHno-SRM rename to .well-known/acme-challenge/2JbLKffzMbJnGbp-wmU0Pta9WkmJIf--A06WHno-SRM diff --git a/.well-known/x8AI7hAVNYbfgX67EO4Qbduz0A4comOHWDBhLopTXvo b/.well-known/acme-challenge/x8AI7hAVNYbfgX67EO4Qbduz0A4comOHWDBhLopTXvo similarity index 100% rename from .well-known/x8AI7hAVNYbfgX67EO4Qbduz0A4comOHWDBhLopTXvo rename to .well-known/acme-challenge/x8AI7hAVNYbfgX67EO4Qbduz0A4comOHWDBhLopTXvo diff --git a/app.js b/app.js index 5250789..1ed204f 100644 --- a/app.js +++ b/app.js @@ -51,7 +51,7 @@ app.all('/*', (req, res, next) => { next(); }); -app.use('/.well-known', express.static('.well-known')); +app.use('/.well-known/acme-challenge', express.static('.well-known')); app.get('/', function(req, res) { res.sendFile(path.join(__dirname, indexView));