computer-playbook/roles/docker-mailu/templates/deploy-letsencrypt-mailu.sh.j2

6 lines
296 B
Plaintext
Raw Normal View History

2021-04-05 12:32:55 +02:00
#!/bin/sh
cp /etc/letsencrypt/live/{{domain}}/privkey.pem /etc/mailu/certs/key.pem || exit 1
cp /etc/letsencrypt/live/{{domain}}/fullchain.pem /etc/mailu/certs/cert.pem || exit 1
sudo cp /etc/letsencrypt/live/{{domain}} /etc/mailu/letsencrypt/ || exit 1
docker exec mailu_front_1 nginx -s reload