We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b35ccaf commit ca63a86Copy full SHA for ca63a86
x-ui-pro.sh
@@ -91,6 +91,7 @@ certbot certonly --standalone --non-interactive --force-renewal --agree-tos --re
91
if [[ ! -d "/etc/letsencrypt/live/${MainDomain}/" ]]; then
92
unlink "/etc/nginx/sites-enabled/${MainDomain}" >/dev/null 2>&1
93
rm -f "/etc/nginx/sites-enabled/${MainDomain}" "/etc/nginx/sites-available/${MainDomain}"
94
+ systemctl start nginx >/dev/null 2>&1
95
msg_err "$MainDomain SSL could not be generated! Check Domain/IP Or Enter new domain!" && exit 1
96
fi
97
################################# Access to configs only with cloudflare#################################
0 commit comments