fix certificates path

This commit is contained in:
deflax 2021-10-10 16:08:53 +00:00
parent e4c8a8f7e9
commit c2affcd87e

View file

@ -9,4 +9,5 @@ DOMAIN=$1
docker exec $CB certbot certonly --non-interactive --standalone --email $2 --agree-tos --keep --preferred-challenges http --cert-name "$CERTNAME" -d "$DOMAIN" docker exec $CB certbot certonly --non-interactive --standalone --email $2 --agree-tos --keep --preferred-challenges http --cert-name "$CERTNAME" -d "$DOMAIN"
cat ./data/certbot/etc/live/$CERTNAME/privkey.pem ./data/certbot/etc/live/$CERTNAME/fullchain.pem > /certificates/$CERTNAME.pem" cat "./data/certbot/etc/live/$CERTNAME/privkey.pem" "./data/certbot/etc/live/$CERTNAME/fullchain.pem" > "./data/certificates/$CERTNAME.pem"