From 6e618ab985907a0d6941bc0d4747ac233ab019f9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 17 Nov 2023 22:50:56 +0000 Subject: Document log x-forwarded-for Signed-off-by: Laurent Bercot --- doc/tipidee.conf.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/tipidee.conf.html b/doc/tipidee.conf.html index 182c206..d75af1b 100644 --- a/doc/tipidee.conf.html +++ b/doc/tipidee.conf.html @@ -419,6 +419,14 @@ This keyword has no effect when given without the request keyword. User-Agent: header. user-agent is quoted like path, to avoid malicious clients messing with log lines. This keyword has no effect when given without the request keyword. +
x-forwarded-for
Add a x-forwarded-for "xff" field to the request line, for +requests that include an X-Forwarded-For: header. xx is quoted like path and user-agent, +for the same reasons. +This keyword has no effect when given without the request keyword.
+Note that if the connection is proxied, the start line, if any, will only have information about +the proxy, and only x-forwarded-for will have information about the client. Also note that +the information in an X-Forwarded-For: header is potentially PII, so make sure to stay +compliant with your local laws if you activate the option.
resource
Log a resource line when tipideed has found a resource corresponding to the URI and is willing to serve it. The line looks like resource file type type. -- cgit v1.3.1