config-reverseproxy.txt: Document X-Forwarded-For header

Change-Id: I4d580d0229de5dcb44a3366566f88c621c6fee30
This commit is contained in:
Sven Selberg
2020-08-28 13:30:04 +02:00
parent f0b9d5e51f
commit 21585ebbf0

View File

@@ -21,6 +21,13 @@ during 'init'.
listenUrl = proxy-http://127.0.0.1:8081/r/
----
== Reverse proxy and client IPs
When behind a reverse proxy the http_log will log the IP of the reverse proxy
as client.ip. To log the correct client IP you must provide the
'X-Forwarded-For' header from the reverse proxy.
See the nginx configuration example below.
== Apache 2 Configuration