mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
[Bug]: IP of reverse proxy in the log #560
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ipod86 on GitHub (Aug 24, 2024).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
No response
Current behaviour
Thanks to another issue, I have now managed to get a log.
But unfortunately I now have the next problem.
If a login fails, the IP of the reverse proxy is logged and not the IP of the one to be accessed. Other containers are configured in the same way, and the corresponding IP appears in the log.
Desired behaviour
Logged ip from accessing
Steps to reproduce
Install planka with docker and reverse proxy with caddy
Other information
No response
@meltyshev commented on GitHub (Aug 24, 2024):
Hi! To display a real IP in the logs, you have to set the
TRUST_PROXY=trueenvironment variable and restart the container.@ipod86 commented on GitHub (Aug 24, 2024):
Thanks, that was it. I couldn't find it in the documentation. It works with 1.