add code to extract all resolving domains from the containers

This commit is contained in:
2016-04-07 08:03:13 +02:00
parent a57fa08340
commit 27ba704ee6
4 changed files with 81 additions and 5 deletions

6
NOTES
View File

@@ -1,12 +1,14 @@
# Nach start von haproxy ohne ssl:
/letsencrypt/letsencrypt-auto --config letencrypt.conf certonly -d lusiardi.de
cat /data/config/live/lusiardi.de/fullchain.pem /data/config/live/lusiardi.de/privkey.pem > /data/haproxy/cert.pem
DIR=`ls -td /data/config/live/*/ | head -1`
cat ${DIR}/fullchain.pem ${DIR}/privkey.pem > /data/haproxy/cert.pem
# Nach start von haproxy mit ssl:
/letsencrypt/letsencrypt-auto --config letencrypt.conf certonly --standalone-supported-challenges http-01 --http-01-port 54321 --expand -d lusiardi.de -d ps.lusiardi.de
cat /data/config/live/lusiardi.de/fullchain.pem /data/config/live/lusiardi.de/privkey.pem > /data/haproxy/cert.pem
DIR=`ls -td /data/config/live/*/ | head -1`
cat ${DIR}/fullchain.pem ${DIR}/privkey.pem > /data/haproxy/cert.pem
# aufräumen
rm -rf /data/*