Thanks @dullage for Flatnotes. I'm still having this problem: in the logs only the internal docker ips are logged. Using nginx with X-Forward headers and the latest flatnotes version with the commit you mentioned - verified entrypoint.sh does use the uvicorn commands. But it's still reporting the docker IP. Besides x-forward and uvicorn header commands, am I missing something? If it helps, I could try the AGSI middleware approach.
Primarily want to put fail2ban in front.
@holzerseb, odd, I have the same behaviour in my setup. This is going to be a bit of a pain to troubleshoot but I'll try and get some time to take a look.
Originally posted by @holzerseb in https://github.com/dullage/flatnotes/issues/101#issuecomment-2334677619