@@ -169,14 +169,14 @@ then
169169 # Apache config
170170 if [ " $WEB_SYSTEM " = ' apache' ]; then
171171 # Parsing httpd.conf
172- tpl_file=" $WEBTPL /apache_ $TPL .tpl"
172+ tpl_file=" $WEBTPL /apache/ $TPL .tpl"
173173 conf=" $HOMEDIR /$user /conf/web/httpd.conf"
174174 get_web_config_brds
175175 sed -n " $top_line ,$bottom_line p" $conf > conf/httpd.conf
176176
177177 # SSL check
178178 if [ " $SSL " = ' yes' ]; then
179- tpl_file=" $WEBTPL /apache_ $TPL .stpl"
179+ tpl_file=" $WEBTPL /apache/ $TPL .stpl"
180180 conf=" $HOMEDIR /$user /conf/web/shttpd.conf"
181181 get_web_config_brds
182182 sed -n " $top_line ,$bottom_line p" $conf > conf/shttpd.conf
@@ -185,14 +185,14 @@ then
185185
186186 # Nginx config
187187 if [ ! -z " $NGINX " ] ; then
188- tpl_file=" $WEBTPL /nginx_ $NGINX .tpl"
188+ tpl_file=" $WEBTPL /nginx/ $NGINX .tpl"
189189 conf=" $HOMEDIR /$user /conf/web/nginx.conf"
190190 get_web_config_brds
191191 sed -n " $top_line ,$bottom_line p" $conf > conf/nginx.conf
192192
193193 # SSL check
194194 if [ " $SSL " = ' yes' ] ; then
195- tpl_file=" $WEBTPL /nginx_ $NGINX .stpl"
195+ tpl_file=" $WEBTPL /nginx/ $NGINX .stpl"
196196 conf=" $HOMEDIR /$user /conf/web/snginx.conf"
197197 get_web_config_brds
198198 sed -n " $top_line ,$bottom_line p" $conf > conf/snginx.conf
0 commit comments