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

5 lines
221 B
Django/Jinja

#!/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
docker exec mailu_front_1 nginx -s reload