Skip to content

Commit

Permalink
Update x-ui-pro.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW4Fun authored Aug 24, 2024
1 parent b35ccaf commit ca63a86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-ui-pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ certbot certonly --standalone --non-interactive --force-renewal --agree-tos --re
if [[ ! -d "/etc/letsencrypt/live/${MainDomain}/" ]]; then
unlink "/etc/nginx/sites-enabled/${MainDomain}" >/dev/null 2>&1
rm -f "/etc/nginx/sites-enabled/${MainDomain}" "/etc/nginx/sites-available/${MainDomain}"
systemctl start nginx >/dev/null 2>&1
msg_err "$MainDomain SSL could not be generated! Check Domain/IP Or Enter new domain!" && exit 1
fi
################################# Access to configs only with cloudflare#################################
Expand Down

0 comments on commit ca63a86

Please sign in to comment.