Skip to content

Commit f6013fe

Browse files
author
Kristan Kenney
committed
Ensure SSL configuration is removed upon domain deletion
1 parent 6396b9e commit f6013fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

func/domain.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ del_web_config() {
309309
# Remove domain configuration files and clean up symbolic links
310310
rm -f /etc/$WEB_SYSTEM/conf.d/domains/$domain.conf
311311
rm -f /etc/$PROXY_SYSTEM/conf.d/domains/$domain.conf
312+
rm -f /etc/$WEB_SYSTEM/conf.d/domains/$domain.ssl.conf
313+
rm -f /etc/$PROXY_SYSTEM/conf.d/domains/$domain.ssl.conf
312314

313315
# Clean up legacy configuration files
314316
if [ -e "$conf" ]; then

0 commit comments

Comments
 (0)