mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
switching from mod_rpaf to mod_extract_forwarded.conf
This commit is contained in:
parent
2a521e7390
commit
2bb8166f7b
4 changed files with 4 additions and 4 deletions
|
@ -325,7 +325,7 @@ namehost_ip_support() {
|
|||
-e "s/%web_port%/$WEB_PORT/g" \
|
||||
-e "s/%proxy_port%/$PROXY_PORT/g" >>$nconf
|
||||
|
||||
ips=$(grep 'RPAFproxy_ips' $rconf)
|
||||
ips=$(grep 'MEFaccept ' $rconf |grep -v '#'| head -n1)
|
||||
sed -i "s/$ips/$ips $ip/g" $rconf
|
||||
fi
|
||||
web_restart='yes'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue