mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 05:14:08 -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"
|
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
|
||||||
del_web_config
|
del_web_config
|
||||||
fi
|
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
|
fi
|
||||||
|
|
||||||
# Checking stats
|
# Checking stats
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue