-
Hi there, First, Thank you for this amazing program :) I'm having issue to get real ip address in AIO log (nextcloud.log). My running configuration is:
To get the real IP address from the clients in my nexctloud logs i use a program called mmproxy. (mmproxy is a lightweight TCP proxy that serves exactly one purpose: to smooth the transition of TCP servers to use proxy-protocol.) I'm testing AIO. I can make it work from inside and outside using informations in https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md with a legit certificate working and with apache_port option command line. I tried to change trusted_proxies in config.php with no success. So in short: VM1 (Haproxy - no docker) => IP 192.168.10.103 On my VM3 by default i get 192.168.10.103 (reverse-proxy IP) for everything in the logs.
I search for this problem for a week now i'm kind of deseperate ^^ Also, i read in the reverse documention: "Please note: The above configuration will only work if your reverse proxy is running directly on the host that is running the docker daemon." Maybe what i'm trying to achieve is impossible ? (my Haproxy IS NOT on the same machine) My haproxy config.
I'm kind of nubbie in docker configuration... Any help would be appreciate. Regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Cool! Then it works!
At which logs are you looking? The logs from the nextcloud container or the nextcloud logs (which you can see in the nextcloud admin settings?) |
Beta Was this translation helpful? Give feedback.
-
You may be hit by this: #828 |
Beta Was this translation helpful? Give feedback.
You may be hit by this: #828