mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
support for NATed networks
This commit is contained in:
parent
579815608c
commit
138ef6c7b0
37 changed files with 271 additions and 94 deletions
|
@ -46,6 +46,7 @@ is_object_unsuspended 'web' 'DOMAIN' "$domain"
|
|||
get_domain_values 'web'
|
||||
tpl_file="$WEBTPL/apache_$TPL.tpl"
|
||||
conf="$HOMEDIR/$user/conf/web/httpd.conf"
|
||||
ip=$(get_real_ip $IP)
|
||||
|
||||
# Deleting domain
|
||||
del_web_config
|
||||
|
@ -146,7 +147,7 @@ if [ -z "$last_nginx" ]; then
|
|||
fi
|
||||
|
||||
# Decrease counters
|
||||
decrease_ip_value "$IP"
|
||||
decrease_ip_value "$ip"
|
||||
decrease_user_value "$user" '$U_WEB_DOMAINS'
|
||||
decrease_user_value "$user" '$U_WEB_ALIASES' "$aliases"
|
||||
if [ "$SSL" = 'yes' ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue