mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
cleanup proxy cache pool
This commit is contained in:
parent
4a43952b26
commit
dc396f2f72
1 changed files with 6 additions and 0 deletions
|
@ -85,6 +85,12 @@ if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
|
|||
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
|
||||
del_web_config
|
||||
fi
|
||||
|
||||
# Deleting domain from proxy cache pool
|
||||
pool="/etc/$PROXY_SYSTEM/conf.d/01_caching_pool.conf"
|
||||
if [ -e "$pool" ]; then
|
||||
sed -i "/=$domain:/d" $pool
|
||||
fi
|
||||
fi
|
||||
|
||||
# Checking stats
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue