We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0efa732 commit 88ecae9Copy full SHA for 88ecae9
func/domain.sh
@@ -299,6 +299,7 @@ del_web_config() {
299
conf="$HOMEDIR/$user/conf/web/$domain/$1.ssl.conf"
300
fi
301
302
+ # Clean up legacy configuration files
303
if [ -e "$conf" ]; then
304
sed -i "\|$conf|d" /etc/$1/conf.d/hestia.conf
305
rm -f $conf
@@ -319,6 +320,14 @@ del_web_config() {
319
320
321
322
323
+
324
+ # Remove domain file symbolic links
325
+ if [ -f /etc/$WEB_SYSTEM/conf.d/domains/$domain.conf ]; then
326
+ rm -f /etc/$WEB_SYSTEM/conf.d/domains/$domain*.conf
327
+ fi
328
+ if [ -f /etc/$PROXY_SYSTEM/conf.d/domains/$domain.conf ]; then
329
+ rm -f /etc/$PROXY_SYSTEM/conf.d/domains/$domain*.conf
330
331
}
332
333
# SSL certificate verification
0 commit comments