File tree Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 1
- 7.0.2
1
+ 7.0.3
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export BF_E=`basename ${0}`
5
5
6
6
7
7
#======================================================================================================================
8
- # Generate SSL configuration file.
8
+ # Generate Nginx SSL configuration file.
9
9
#======================================================================================================================
10
10
11
11
if [ "${PROXY_HARDEN}" = "1" ] ; then
Original file line number Diff line number Diff line change @@ -34,11 +34,16 @@ if [ ! -f "${PROXY_SSL_CONF}" ] && [ -n "${PROXY_AUTO_PRIMARY-}" ] && [ -n "${PR
34
34
# if there are aliases enable canonical redirection
35
35
[[ -n "${PROXY_AUTO_ALIASES-}" ]] && bf-env "PROXY_SSL_REDIRECT_TO_CANONICAL" "1"
36
36
37
- fi
37
+ # initialise all domains (proxy plus auto)
38
+ ssl-init -a
38
39
39
40
40
41
#======================================================================================================================
41
- # Run initialisation script for the proxy domain.
42
+ # Run initialisation script only for the proxy domain.
42
43
#======================================================================================================================
43
44
44
- ssl-init -d "proxy"
45
+ else
46
+
47
+ ssl-init -d "proxy"
48
+
49
+ fi
Original file line number Diff line number Diff line change @@ -14,10 +14,20 @@ source ${BF_INC}/proxy-check.sh
14
14
15
15
source ${BF_INC} /proxy-init-domain.sh
16
16
source ${BF_INC} /proxy-replace.sh
17
+ source ${BF_INC} /proxy-setup-global.sh
17
18
source ${BF_INC} /proxy-setup-nginx.sh
18
19
source ${BF_INC} /proxy-setup-ssl.sh
19
20
20
21
22
+ # ======================================================================================================================
23
+ # Set up global SSL configuration.
24
+ # ======================================================================================================================
25
+
26
+ bf-echo " Setting up getssl..." " proxy/init"
27
+ setup-global
28
+ bf-done " proxy/init"
29
+
30
+
21
31
# ======================================================================================================================
22
32
# Initialise Nginx and SSL for requested domain.
23
33
# ======================================================================================================================
You can’t perform that action at this time.
0 commit comments