Skip to content

Commit ca63a86

Browse files
authored
Update x-ui-pro.sh
1 parent b35ccaf commit ca63a86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-ui-pro.sh

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ certbot certonly --standalone --non-interactive --force-renewal --agree-tos --re
9191
if [[ ! -d "/etc/letsencrypt/live/${MainDomain}/" ]]; then
9292
unlink "/etc/nginx/sites-enabled/${MainDomain}" >/dev/null 2>&1
9393
rm -f "/etc/nginx/sites-enabled/${MainDomain}" "/etc/nginx/sites-available/${MainDomain}"
94+
systemctl start nginx >/dev/null 2>&1
9495
msg_err "$MainDomain SSL could not be generated! Check Domain/IP Or Enter new domain!" && exit 1
9596
fi
9697
################################# Access to configs only with cloudflare#################################

0 commit comments

Comments
 (0)