We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a43952 commit dc396f2Copy full SHA for dc396f2
1 file changed
bin/v-delete-web-domain
@@ -85,6 +85,12 @@ if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
85
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
86
del_web_config
87
fi
88
+
89
+ # Deleting domain from proxy cache pool
90
+ pool="/etc/$PROXY_SYSTEM/conf.d/01_caching_pool.conf"
91
+ if [ -e "$pool" ]; then
92
+ sed -i "/=$domain:/d" $pool
93
+ fi
94
95
96
# Checking stats
0 commit comments