Allow to log real client ip in logs when using a reverse proxy (#398)

* Allow to log real client ip in logs when using a reverse proxy

* rearrange options

---------

Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@googlemail.com>
This commit is contained in:
François Ménabé
2023-05-18 09:34:55 +02:00
committed by GitHub
parent d1819c6503
commit a94eb5f85a
2 changed files with 11 additions and 1 deletions

View File

@@ -22,4 +22,8 @@ if-env = LD_REQUEST_TIMEOUT
http-timeout = %(_)
socket-timeout = %(_)
harakiri = %(_)
endif =
endif =
if-env = LD_LOG_X_FORWARDED_FOR
log-x-forwarded-for = %(_)
endif =