Closed fgionghi closed 1 month ago
5.3.0
I have 2fauth installed behind an nginx reverse proxy and I am setting the X-forwarded-for header to $proxy_add_x_forwarded_for. To reproduce set in the docker-compose:
X-forwarded-for
$proxy_add_x_forwarded_for
environment: - PROXY_HEADER_FOR_IP="X-Forwarded-For"
in the log inside the interface I will literally see X-Forwarded-For
X-Forwarded-For
The problem persist also when using PROXY_HEADER_FOR_IP="X-Real-IP"
PROXY_HEADER_FOR_IP="X-Real-IP"
I would like to see my client IP address
No response
Version
5.3.0
Details & Steps to reproduce
I have 2fauth installed behind an nginx reverse proxy and I am setting the
X-forwarded-for
header to$proxy_add_x_forwarded_for
. To reproduce set in the docker-compose:in the log inside the interface I will literally see
X-Forwarded-For
The problem persist also when using
PROXY_HEADER_FOR_IP="X-Real-IP"
Expectation
I would like to see my client IP address
Error & Logs
No response
Execution environment
No response
Containerization
Additional information
No response