mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
check for nginxless setup
This commit is contained in:
parent
11c8153a48
commit
bf5fdaf8e2
1 changed files with 9 additions and 2 deletions
|
@ -43,13 +43,17 @@ is_object_value_exist 'web' 'DOMAIN' "$domain" '$PROXY'
|
|||
get_domain_values 'web'
|
||||
tpl_file="$WEBTPL/$PROXY_SYSTEM/$PROXY.tpl"
|
||||
conf="$HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf"
|
||||
del_web_config
|
||||
if [ ! -z "$PROXY_SYSTEM" ]; then
|
||||
del_web_config
|
||||
fi
|
||||
|
||||
# Checking SSL
|
||||
if [ "$SSL" = 'yes' ]; then
|
||||
tpl_file="$WEBTPL/$PROXY_SYSTEM/$PROXY.stpl"
|
||||
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
|
||||
del_web_config
|
||||
if [ ! -z "$PROXY_SYSTEM" ]; then
|
||||
del_web_config
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
@ -61,6 +65,9 @@ fi
|
|||
update_object_value 'web' 'DOMAIN' "$domain" '$PROXY' ''
|
||||
update_object_value 'web' 'DOMAIN' "$domain" '$PROXY_EXT' ''
|
||||
|
||||
if [ -z "$PROXY_SYSTEM" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
# Checking last SSL proxy
|
||||
conf="/etc/$PROXY_SYSTEM/conf.d/vesta.conf"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue