I have this configuration in my Apache virtualhost :
<VirtualHost *:80> ServerAdmin email@example.com ServerName black-frames.net ProxyPreserveHost On ProxyPass / http://127.0.0.1:9150/ ProxyPassReverse / http://127.0.0.1:9150/ ErrorLog /var/log/apache2/blackframes_error.log LogLevel warn CustomLog /var/log/apache2/blackframes_access.log combined ServerSignature Off </VirtualHost>
But on Play Framework, asking for the client IP (request.remoteAddress) results in a
I'm sure it's because of the proxy, but I don't know which parameter to set to make this works.
Thanks for your help !