Reverse Proxy Configuration #3946
-
Hi, I have a problem with my reverse proxy configuration. It seems like Nextcloud does not get the correct X-Forwarded-For IP and assumes the reverse proxy IP:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
For me it's different, I have my docker proxy in separate container/docker-compose so the setup is My firewall for Port 11000 only allow connection from 1.2.3.4 Then set 'trusted_proxies' =>
array (
0 => '1.2.3.4'
) NOTE: I said 'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '::1',
2 => '1.2.3.4'
), I struggle with the WRONG configuration above (which return 127.0.0.1 to my log) until I remove everything and leave only my Public IP. |
Beta Was this translation helpful? Give feedback.
-
Hi @tuetenk0pp, can you try the following command and check if that makes it work?
|
Beta Was this translation helpful? Give feedback.
Hi @tuetenk0pp, can you try the following command and check if that makes it work?