mirror of https://github.com/Aidaho12/haproxy-wi
v4.5.8.0
parent
3c5b6e772c
commit
3cd519e187
|
@ -16,8 +16,8 @@ command+=" --non-interactive --agree-tos --email $email --http-01-port=8888"
|
|||
bash -c "$command"
|
||||
|
||||
for i in $(ls -d */ |awk -F"/" '{print $1}'); do
|
||||
bash -c "cat /etc/letsencrypt/live/$i/fullchain.pem /etc/letsencrypt/live/$i/private.pem > $path/$i.pem"
|
||||
bash -c "cat /etc/letsencrypt/live/$i/fullchain.pem /etc/letsencrypt/live/$i/privkey.pem > $path/$i.pem"
|
||||
done
|
||||
|
||||
# Reload HAProxy
|
||||
sudo systemctl reload haproxy
|
||||
sudo systemctl reload haproxy
|
||||
|
|
Loading…
Reference in New Issue