Sander Scheer
New Pleskian
Hi all,
I'm running Plesk Onyx 17.5.3 Update #11 on my server, and I have some weird issues with IPv6 / Apache / Nginx:
- I am running Apache as webserver and Nginx as proxy
- I am using mod_geoip in Apache to deny access from certain countries
- Since I have activated IPv6 for some websites, the mod_geoip functionality doesn't work for visitors on IPv6
- In the access_log, the local IPv6 address of my server shows up, and not the remote address of the visitor
It looks like Nginx isn't forwarding the visitors IPv6 address to Apache. How can I fix this, so that the correct remote addresses show up in the logs? I also think this has influence on the whole mod_geoip part, since mod_geoip doesn't receive any IP-information it will simply deny the visitor.
I'm running Plesk Onyx 17.5.3 Update #11 on my server, and I have some weird issues with IPv6 / Apache / Nginx:
- I am running Apache as webserver and Nginx as proxy
- I am using mod_geoip in Apache to deny access from certain countries
- Since I have activated IPv6 for some websites, the mod_geoip functionality doesn't work for visitors on IPv6
- In the access_log, the local IPv6 address of my server shows up, and not the remote address of the visitor
It looks like Nginx isn't forwarding the visitors IPv6 address to Apache. How can I fix this, so that the correct remote addresses show up in the logs? I also think this has influence on the whole mod_geoip part, since mod_geoip doesn't receive any IP-information it will simply deny the visitor.