Problem forwarding RemoteIP from proxy to apache (mod_rpaf)
Posted: Tue Jan 06, 2015 1:40 pm
Hey everyone and happy new year :)
i have a problem with forwarding the remote ips from nginx to apache:
ive added the following lines to the configuration templates of nginx under /usr/local/vesta/data/templates/web/nginx
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
then i enabled mod rpaf with the following config
<IfModule rpaf_module>
RPAFenable On
RPAFsethostname On
RPAFproxy_ips 127.0.0.1 ::1
RPAFproxy_ips my.serverIP.stands.here
RPAFheader X-Real-IP
</IfModule>
still only the server ip shows up in logs... did i do something wrong?
any help on this topic is highly appreciated!
kind regards
patrick
i have a problem with forwarding the remote ips from nginx to apache:
ive added the following lines to the configuration templates of nginx under /usr/local/vesta/data/templates/web/nginx
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
then i enabled mod rpaf with the following config
<IfModule rpaf_module>
RPAFenable On
RPAFsethostname On
RPAFproxy_ips 127.0.0.1 ::1
RPAFproxy_ips my.serverIP.stands.here
RPAFheader X-Real-IP
</IfModule>
still only the server ip shows up in logs... did i do something wrong?
any help on this topic is highly appreciated!
kind regards
patrick