use /defaults dir

This commit is contained in:
Andrew Hurley 2022-11-05 20:14:22 +08:00
parent a857bce00b
commit 16d61dd9a0
1 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@ if [[ -f custom-cert.crt && -f custom-cert.key ]]; then
echo "Using custom certificate as main certs. Certbot certs now named 'dcert.crt' and 'dcert.key'."
mv cert.crt dcert.crt
mv cert.key dcert.key
mv custom-cert.crt cert.crt
mv custom-cert.key cert.key
cp /default/custom-cert.crt cert.crt
cp /default/custom-cert.key cert.key
fi