aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-server/certbot/scripts/update-haproxy-certificates.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-19 08:02:22 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-19 08:02:22 +0000
commit28ed4f737330a1ec42b5493a24faa9fd13eefe91 (patch)
treed4b974facc20e84c1f8e06423aed0012b36649e1 /matrix-server/certbot/scripts/update-haproxy-certificates.sh
parentmatrix server update...almost working...WIP (diff)
downloaddockerimages-28ed4f737330a1ec42b5493a24faa9fd13eefe91.tar.gz
dockerimages-28ed4f737330a1ec42b5493a24faa9fd13eefe91.zip
update, debugging the haproxy config
Diffstat (limited to 'matrix-server/certbot/scripts/update-haproxy-certificates.sh')
-rw-r--r--matrix-server/certbot/scripts/update-haproxy-certificates.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/matrix-server/certbot/scripts/update-haproxy-certificates.sh b/matrix-server/certbot/scripts/update-haproxy-certificates.sh
index 9eaae7c..4fad7df 100644
--- a/matrix-server/certbot/scripts/update-haproxy-certificates.sh
+++ b/matrix-server/certbot/scripts/update-haproxy-certificates.sh
@@ -1,11 +1,7 @@
#!/bin/sh
echo "running update certs..."
-# Start transaction
-echo -e "set ssl cert /etc/letsencrypt/live/terminaldweller.com/fullchain.pem <<\n$(cat /etc/certificates/terminaldweller.com.pem)\n" | socat tcp-connect:haproxy:9999 -
-# Commit transaction
+echo -e "set ssl cert /etc/letsencrypt/live/terminaldweller.com/fullchain.pem <<\n$(cat /etc/certificates/terminaldweller.com.pem)\n" | socat tcp-connect:haproxy:9999 -
echo "commit ssl cert /etc/letsencrypt/live/terminaldweller.com/fullchain.pem" | socat tcp-connect:haproxy:9999 -
-
-# Show certification info (not essential)
echo "show ssl cert /etc/letsencrypt/live/terminaldweller.com/fullchain.pem" | socat tcp-connect:haproxy:9999 -