File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -268,10 +268,6 @@ add_web_config() {
268268 rm -f /etc/$1 /conf.d/domains/$domain .ssl.conf
269269 ln -s $conf /etc/$1 /conf.d/domains/$domain .ssl.conf
270270
271- # Clear old configurations
272- rm -f $HOMEDIR /$user /conf/web/$domain .*
273- rm -f $HOMEDIR /$user /conf/web/ssl.$domain .*
274-
275271 # Rename/Move extra SSL config files
276272 for f in $( ls $HOMEDIR /$user /conf/web/* .$domain .conf* 2> /dev/null) ; do
277273 if [[ $f =~ .* /s(nginx| apache2)\. $domain \. conf(.* ) ]]; then
@@ -287,10 +283,6 @@ add_web_config() {
287283 else
288284 rm -f /etc/$1 /conf.d/domains/$domain .conf
289285 ln -s $conf /etc/$1 /conf.d/domains/$domain .conf
290-
291- # Clear old configurations
292- rm -f $HOMEDIR /$user /conf/web/$domain .*
293-
294286 # Rename/Move extra config files
295287 for f in $( ls $HOMEDIR /$user /conf/web/* .$domain .conf* 2> /dev/null) ; do
296288 if [[ $f =~ .* /(nginx| apache2)\. $domain \. conf(.* ) ]]; then
You can’t perform that action at this time.
0 commit comments