I am using the latest docker image from dockerhub (apache2 version), running on my Raspberry Pi 4B. Recently, when I launched my Nextcloud APP and Photos APP I found there were a lot of warnings in the nextcloud.log as follows:
I am very confused about how to show real IP from frpc. It does’t look like a frp error, because my Jellyfin are running in almost the same way and it could show the correct IP. Please help me
My docker gateway is 172.17.0.1, all of the remote addresses in my nextcloud log are that. I suspect maybe the default Apache config is wrong. But I have no idea where the config is either how to fix that.
Please review you have all required reverse proxy settings in place. Newer Docker images should have the fix built-in already but definitely worth following Apache Docker behind reverse proxy
Thank you for your kindly help. I tried to reset my Nginx config, and the wrong IP in the log somehow changed to 127.0.0.1 . Then I appended it to the trusted_proxies array. Surprisingly I found it worked, and I thought maybe I have handled this problem.
if your Nginx runs on the same system this is expected and the setting you applied is right for reverseproxy on the same system as Nextcloud (localhost)