@@ -145,7 +145,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
145145 else
146146 # old style configs
147147 tpl_file=" $WEBTPL /$WEB_SYSTEM /$WEB_BACKEND /$TPL .tpl"
148- conf=" $HOMEDIR /$user /conf/web/$WEB_SYSTEM .conf"
148+ conf=" $HOMEDIR /$user /conf/web/$domain / $ WEB_SYSTEM .conf"
149149 get_web_config_lines $tpl_file $conf
150150 sed -n " $top_line ,$bottom_line p" $conf > conf/$WEB_SYSTEM .conf
151151 fi
@@ -157,7 +157,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
157157 cp $conf conf/$WEB_SYSTEM .ssl.conf
158158 else
159159 tpl_file=" $WEBTPL /$WEB_SYSTEM /$WEB_BACKEND /$TPL .stpl"
160- conf=" $HOMEDIR /$user /conf/web/s $ WEB_SYSTEM .conf"
160+ conf=" $HOMEDIR /$user /conf/web/$domain / $ WEB_SYSTEM.ssl .conf"
161161 get_web_config_lines $tpl_file $conf
162162 sed -n " $top_line ,$bottom_line p" $conf > \
163163 conf/s$WEB_SYSTEM .conf
@@ -171,7 +171,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
171171 cp $conf conf/$PROXY_SYSTEM .conf
172172 else
173173 tpl_file=" $WEBTPL /$PROXY_SYSTEM /$PROXY .tpl"
174- conf=" $HOMEDIR /$user /conf/web/$PROXY_SYSTEM .conf"
174+ conf=" $HOMEDIR /$user /conf/web/$domain / $ PROXY_SYSTEM .conf"
175175 get_web_config_lines $tpl_file $conf
176176 sed -n " $top_line ,$bottom_line p" $conf > \
177177 conf/$PROXY_SYSTEM .conf
@@ -185,7 +185,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
185185 cp $conf conf/$PROXY_SYSTEM .ssl.conf
186186 else
187187 tpl_file=" $WEBTPL /$PROXY_SYSTEM /$PROXY .stpl"
188- conf=" $HOMEDIR /$user /conf/web/s $ PROXY_SYSTEM .conf"
188+ conf=" $HOMEDIR /$user /conf/web/$domain / $ PROXY_SYSTEM.ssl .conf"
189189 get_web_config_lines $tpl_file $conf
190190 sed -n " $top_line ,$bottom_line p" $conf > \
191191 conf/s$PROXY_SYSTEM .conf
@@ -199,7 +199,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
199199
200200 # Backup ssl certificates
201201 if [ " $SSL " = ' yes' ] ; then
202- cp $HOMEDIR /$user /conf/web/ssl. $domain .* conf/
202+ cp $HOMEDIR /$user /conf/web/$domain / ssl/ $domain .* conf/
203203 cp $USER_DATA /ssl/$domain .* hestia/
204204 fi
205205
0 commit comments