mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 14:24:07 -07:00
Update v-add-sys-ip
временная затычка
This commit is contained in:
parent
56676aec2a
commit
8ecf60d052
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,7 @@ NETMASK='$netmask'
|
||||||
NAT='$nat_ip'
|
NAT='$nat_ip'
|
||||||
TIME='$time'
|
TIME='$time'
|
||||||
DATE='$date'" > $VESTA/data/ips/$ip
|
DATE='$date'" > $VESTA/data/ips/$ip
|
||||||
|
HOSTNAME=`hostname`
|
||||||
chmod 660 $VESTA/data/ips/$ip
|
chmod 660 $VESTA/data/ips/$ip
|
||||||
|
|
||||||
# WEB support
|
# WEB support
|
||||||
|
@ -126,6 +127,7 @@ if [ ! -z "$PROXY_SYSTEM" ]; then
|
||||||
sed -e "s/%ip%/$ip/g" \
|
sed -e "s/%ip%/$ip/g" \
|
||||||
-e "s/%web_port%/$WEB_PORT/g" \
|
-e "s/%web_port%/$WEB_PORT/g" \
|
||||||
-e "s/%proxy_port%/$PROXY_PORT/g" \
|
-e "s/%proxy_port%/$PROXY_PORT/g" \
|
||||||
|
-e "s/%hostname%/$HOSTNAME/g" \
|
||||||
> /etc/$PROXY_SYSTEM/conf.d/$ip.conf
|
> /etc/$PROXY_SYSTEM/conf.d/$ip.conf
|
||||||
|
|
||||||
# mod_extract_forwarded
|
# mod_extract_forwarded
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue