Add mod_remoteip for backend servers behind RevProxy
- mod_remoteip + .conf
This commit is contained in:
parent
5150b0e386
commit
fad38db601
5
mods-available/remoteip.conf
Normal file
5
mods-available/remoteip.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<IfModule mod_remoteip.c>
|
||||||
|
LogFormat "%a %l %u %t \"%r\" %>s %b" rip-common
|
||||||
|
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" rip-combined
|
||||||
|
</IfModule>
|
||||||
|
|
2
mods-available/remoteip.load
Normal file
2
mods-available/remoteip.load
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Suggests: .conf
|
||||||
|
LoadModule remoteip_module modules/mod_remoteip.so
|
Loading…
Reference in a new issue