mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
fix for nginx tpl verification on restore
This commit is contained in:
parent
17aa86c1f1
commit
e5608b4aeb
1 changed files with 2 additions and 2 deletions
|
@ -257,9 +257,9 @@ if [ "$web" != 'no' ]; then
|
|||
|
||||
# Check proxy template
|
||||
if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
|
||||
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$TPL.tpl" ]; then
|
||||
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$PROXY.tpl" ]; then
|
||||
PROXY="default"
|
||||
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$TPL.tpl" ]; then
|
||||
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$PROXY.tpl" ]; then
|
||||
echo "Error: no avaiable proxy template"
|
||||
echo "No available proxy tpl" |\
|
||||
$send_mail -s "$subj" $email
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue