diff options
author | terminaldweller <thabogre@gmail.com> | 2021-09-11 19:21:13 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-09-11 19:21:13 +0000 |
commit | 3fe53b73802ead72639ed495c91bed23062e345e (patch) | |
tree | b98d908212c26933f717059c4cc882e498653139 | |
parent | left-over (diff) | |
download | blog-3fe53b73802ead72639ed495c91bed23062e345e.tar.gz blog-3fe53b73802ead72639ed495c91bed23062e345e.zip |
https working now
Diffstat (limited to '')
-rw-r--r-- | docker-compose.yaml | 4 | ||||
-rwxr-xr-x | server.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml index ac05a0f..1c70974 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,7 @@ services: restart: unless-stopped ports: - "9000:9000" - cap_drop: - - ALL + volumes: + - /etc/letsencrypt/archive/blog.terminaldweller.com/:/certs/ networks: webnet: @@ -95,8 +95,8 @@ app.use((err, req, res) => { }); https.createServer({ - key: fs.readFileSync('/certs/server.key'), - cert: fs.readFileSync("/certs/server.cert") + key: fs.readFileSync("/certs/privkey1.pem","utf-8"), + cert: fs.readFileSync("/certs/fullchain1.pem","utf-8") },app).listen(9000); // app.listen(9000); |