mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-09 05:01:33 -05:00
Update install.sh
This commit is contained in:
parent
ee108552c6
commit
0fb51b38ef
@ -758,6 +758,11 @@ ssl_certs(){
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$installoption" = "1" ] || [ "$installoption" = "3" ]; then
|
if [ "$installoption" = "1" ] || [ "$installoption" = "3" ]; then
|
||||||
|
if [ "$lsb_dist" = "ubuntu" ] || [ "$lsb_dist" = "debian" ]; then
|
||||||
|
apt-get -y install python3-certbot-nginx
|
||||||
|
elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" != "almalinux" ]; then
|
||||||
|
dnf -y install python3-certbot-nginx
|
||||||
|
fi
|
||||||
certbot --nginx --redirect --no-eff-email --email "$email" --agree-tos -d "$FQDN" --non-interactive
|
certbot --nginx --redirect --no-eff-email --email "$email" --agree-tos -d "$FQDN" --non-interactive
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user