You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[ $subdomain=="false" ]] &&echo"${blu}Please, be sure that${end}$domain${blu}and${end} www.$domain${blu}are both currently pointing (DNS) to this server. ${end}"
112
-
[[ $subdomain=="true" ]] &&echo"${blu}Please, be sure that the${end}$domain${blu}subdomain is currently pointing (DNS) to this server. ${end}"
113
-
echo"${blu}Firewall Settings: Port 80 (TCP) and port 443 (TCP and UDP) must be open (inbound and outbound). ${end}"
111
+
[[ $subdomain=="false" ]] &&echo"${blu}${dim}* Please, be sure that${end}$domain${blu}${dim}and${end} www.$domain${blu}${dim}are both currently pointing (DNS) to this server. ${end}"
112
+
[[ $subdomain=="true" ]] &&echo"${blu}${dim}* Please, be sure that the${end}$domain${blu}${dim}subdomain is currently pointing (DNS) to this server. ${end}"
113
+
echo"${blu}${dim}** Firewall Settings: Port 80 (TCP) and port 443 (TCP and UDP) must be open (inbound and outbound). ${end}"
114
114
115
115
# We need an email to notify each renew intent (cron)
116
116
while [[ -z$cermail ]]
117
117
do
118
118
echo"${blu}"
119
119
read -p "Please, enter an email to register your new certificate: ${end}" cermail
120
120
email_update $cermail
121
-
[[ $(conf_read mail)!=$cermail ]] && cermail=""
121
+
122
+
[[ -z$(conf_read mail) ]] &&unset cermail
123
+
[[ -z$x ]] &&local x=1 ||local x=$((x+1))
124
+
125
+
if [[ $x-ge 3 &&-z$(conf_read mail) ]];then
126
+
echo"${red}[ERROR] Please, enter a valid email address!${end}"
127
+
exit 1
128
+
fi
122
129
done
123
130
124
131
# Create new certificate
@@ -272,7 +279,7 @@ site_ssl_off() {
272
279
else
273
280
echo"${blu}Select 'Y' to revoke and delete all the certificate files."
274
281
echo"Select 'N' if you only want to deactivate this certificate momentary and you will activate it later again."
275
-
echo"${gre}"
282
+
echo"${blu}"
276
283
echo"Do you want to delete and revoke this certificate [y/N]? "
echo"${gre} Nginx Helper Plugin has been installed!"
35
-
echo" Please, activate this plugin for a better experience with FastCgi Cache."
36
-
echo"${blu} ** IMPORTANT - Plugin Settings **"
35
+
echo"${dim} Please, activate this plugin for a better experience with FastCgi Cache.${end}"
36
+
echo"${blu} ** IMPORTANT - Plugin Settings **${dim}"
37
37
echo"- Go to “Menu > Settings > Nginx Helper” The “Caching Method” should be set to “Nginx FastCgi Cache”."
38
38
echo"- Support for purge/url method is a premium feature only included in NGINX Plus (not-free) and we recommend not to trust in solutions or tools that use third-party NGINX modules to offer this feature."
39
39
echo"- The Purge Method should be set to “Delete local server cache file”."
0 commit comments