Skip to content

Instantly share code, notes, and snippets.

@topolik
Created February 9, 2016 10:32
Show Gist options
  • Save topolik/49b9293160266ef20130 to your computer and use it in GitHub Desktop.
Save topolik/49b9293160266ef20130 to your computer and use it in GitHub Desktop.
remoteip module config
Listen 443
<VirtualHost *:443>
ProxyRequests On
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
LoadModule remoteip_module modules/mod_remoteip.so
RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxy 192.168.1.10
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment