|
@@ -5,7 +5,7 @@ set -e
|
|
|
for domain in $RENEWED_DOMAINS; do
|
|
|
case $domain in
|
|
|
DOMAIN_NAME_REPLACE)
|
|
|
- nginx_cert_root=/opt/flowdat/nginx/certs
|
|
|
+ nginx_cert_root=DIRINSTALL/nginx/certs
|
|
|
|
|
|
# Make sure the certificate and private key files are
|
|
|
# never world readable, even just for an instant while
|
|
@@ -20,7 +20,7 @@ for domain in $RENEWED_DOMAINS; do
|
|
|
chmod 400 "$nginx_cert_root/fullchain.pem" \
|
|
|
"$nginx_cert_root/privkey.pem"
|
|
|
|
|
|
- cd /opt/flowdat && docker-compose restart nginx
|
|
|
+ cd DIRINSTALL && docker-compose restart nginx
|
|
|
;;
|
|
|
esac
|
|
|
done
|