|
@@ -4,7 +4,7 @@
|
4
|
4
|
# license: GPL 2.0
|
5
|
5
|
# create 2022
|
6
|
6
|
#
|
7
|
|
-version="0.4.2";
|
|
7
|
+version="0.4.3";
|
8
|
8
|
sname="avto4certbot";
|
9
|
9
|
# необходимы для работы: nginx,certbot (и если почтовый сервер то сервисы в restartMail)
|
10
|
10
|
# create new cert or update
|
|
@@ -18,15 +18,20 @@ source "$path_script/avto4certbot.conf";
|
18
|
18
|
nginx_enable="/etc/nginx/sites-enabled";
|
19
|
19
|
nginx_available="/etc/nginx/sites-available";
|
20
|
20
|
|
|
21
|
+## - apache
|
|
22
|
+nginx_enable="/etc/apache/sites-enabled";
|
|
23
|
+nginx_available="/etc/apache/sites-available";
|
|
24
|
+
|
21
|
25
|
## - mail service or others
|
22
|
26
|
set_service=(
|
23
|
27
|
"nginx"
|
|
28
|
+ #"apache"
|
24
|
29
|
);
|
25
|
30
|
|
26
|
31
|
##--@S static values
|
27
|
32
|
# depends
|
28
|
|
-pkgdep=("curl" "nginx" "certbot" "letsencrypt") # packages
|
29
|
|
-get_tools=("curl" "nginx" "certbot" "letsencrypt")
|
|
33
|
+pkgdep=("curl" "certbot" "letsencrypt") # packages
|
|
34
|
+get_tools=("curl" "certbot" "letsencrypt")
|
30
|
35
|
|
31
|
36
|
##
|
32
|
37
|
www_root="/tmp/letsencrypt";
|