From ecef4e3cc9f2d414b817b18a0b9c7303c39e519a Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sun, 17 Jan 2021 09:48:35 +0330 Subject: matrix server docker-compose WIP --- matrix-server/certbot/scripts/concatenate-certificates.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 matrix-server/certbot/scripts/concatenate-certificates.sh (limited to 'matrix-server/certbot/scripts/concatenate-certificates.sh') diff --git a/matrix-server/certbot/scripts/concatenate-certificates.sh b/matrix-server/certbot/scripts/concatenate-certificates.sh new file mode 100644 index 0000000..5238a9b --- /dev/null +++ b/matrix-server/certbot/scripts/concatenate-certificates.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +if [ -f /etc/letsencrypt/live/davole.com/fullchain.pem -a -f /etc/letsencrypt/live/davole.com/privkey.pem ]; then + cat /etc/letsencrypt/live/davole.com/fullchain.pem /etc/letsencrypt/live/davole.com/privkey.pem > /etc/certificates/davole.com.pem +fi -- cgit v1.2.3