Mod_geoip behind reverse proxy

Hello all, where should mod_geoip being installed?
On the reverse Proxy or on the Piwik Server?

Best regards, and thanks for your help in advance.
Thomas