Created
February 9, 2016 10:32
-
-
Save topolik/49b9293160266ef20130 to your computer and use it in GitHub Desktop.
remoteip module config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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