File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ get_ip_iface
5454conf=' /etc/httpd/conf.d/vesta.conf'
5555nconf=' /etc/nginx/conf.d/vesta_ip.conf'
5656iconf=' /etc/sysconfig/network-scripts/ifcfg'
57- rconf=' /etc/httpd/conf.d/rpaf .conf'
57+ rconf=' /etc/httpd/conf.d/mod_extract_forwarded .conf'
5858
5959# Adding ip
6060/sbin/ifconfig " $iface " " $ip " netmask " $mask "
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ is_ip_key_empty '$U_SYS_USERS'
3939conf=' /etc/httpd/conf.d/vesta.conf'
4040nconf=' /etc/nginx/conf.d/vesta_ip.conf'
4141iconf=' /etc/sysconfig/network-scripts/ifcfg'
42- rconf=' /etc/httpd/conf.d/rpaf .conf'
42+ rconf=' /etc/httpd/conf.d/mod_extract_forwarded .conf'
4343
4444# Get ip owner
4545user=" $( get_ip_value ' $OWNER' ) "
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ vesta_ip_list=$(ls $VESTA/data/ips/)
4646conf=' /etc/httpd/conf.d/vesta.conf'
4747nconf=' /etc/nginx/conf.d/vesta_ip.conf'
4848iconf=' /etc/sysconfig/network-scripts/ifcfg'
49- rconf=' /etc/httpd/conf.d/rpaf .conf'
49+ rconf=' /etc/httpd/conf.d/mod_extract_forwarded .conf'
5050
5151# Comparing each ip
5252for ip in $ip_list ; do
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ namehost_ip_support() {
325325 -e " s/%web_port%/$WEB_PORT /g" \
326326 -e " s/%proxy_port%/$PROXY_PORT /g" >> $nconf
327327
328- ips=$( grep ' RPAFproxy_ips ' $rconf )
328+ ips=$( grep ' MEFaccept ' $rconf | grep -v ' # ' | head -n1 )
329329 sed -i " s/$ips /$ips $ip /g" $rconf
330330 fi
331331 web_restart=' yes'
You can’t perform that action at this time.
0 commit comments