User Tools

Site Tools


lab:apache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lab:apache [2021-02-19 06:23]
wiki@tomr.me
lab:apache [2021-02-19 06:24] (current)
wiki@tomr.me
Line 12: Line 12:
  
 ==== Retain the real user IP (CloudFlare) ==== ==== Retain the real user IP (CloudFlare) ====
-Enable `mod_remoteip`: 
 <code bash> <code bash>
-a2enmod remoteip+a2enmod remoteip # Enable the Apache Module
 </code> </code>
  
-Add this to `apache2.conf`: +<code apache example.org.conf>
-<code apache>+
 RemoteIPHeader CF_CONNECTING_IP RemoteIPHeader CF_CONNECTING_IP
 </code> </code>
/var/www/dokuwiki/data/pages/lab/apache.txt · Last modified: 2021-02-19 06:24 by wiki@tomr.me