Skip to content

Commit 02f9375

Browse files
author
Kristan Kenney
authored
Merge pull request hestiacp#1777 from jaapmarcus/fix/1746-tld-less-domains
Fix hestiacp#1764 tld less domains
2 parents 6c54e1d + 7d42cc1 commit 02f9375

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

func/domain.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)