typo
This commit is contained in:
parent
b31055dff6
commit
6efa724acd
|
@ -33,13 +33,15 @@ cp etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh /etc/letsencrypt/
|
||||||
chmod 750 /etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh
|
chmod 750 /etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh
|
||||||
chown root:root /etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh
|
chown root:root /etc/letsencrypt/renewal-hooks/post/sync-certs-to-etc-ssl.sh
|
||||||
|
|
||||||
|
echo
|
||||||
domain=`hostname -d`
|
domain=`hostname -d`
|
||||||
if [ -n "$domain" ]; then
|
if [ -n "$domain" ]; then
|
||||||
echo "email = hostmaster@$domain" >> /etc/letsencrypt/cli.ini
|
echo "email = hostmaster@$domain" >> /etc/letsencrypt/cli.ini
|
||||||
echo "Let's Encrypt email set to hostmaster@$domain"
|
echo "Let's Encrypt email set to hostmaster@$domain"
|
||||||
else
|
else
|
||||||
echo "Server DNS domain name not set, Lets' Encrypt email setting left unconfigured."
|
echo "Server DNS domain name not set, Let's Encrypt email setting left unconfigured."
|
||||||
fi
|
fi
|
||||||
|
echo
|
||||||
|
|
||||||
cp etc/apache2/conf-available/certbot.conf /etc/apache2/conf-available/certbot.conf
|
cp etc/apache2/conf-available/certbot.conf /etc/apache2/conf-available/certbot.conf
|
||||||
a2enmod --quiet proxy
|
a2enmod --quiet proxy
|
||||||
|
|
Loading…
Reference in New Issue
Block a user