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

5 lines
238 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_container_name}} nginx -s reload