Nginx - reverse proxy

hello,
i am still getting that error but frankly i have no idea what exactly issue would be? thanks!

There are some warnings regarding your setup.

The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the documentation ↗.

Typically that error means exactly what it says. Sadly I don’t have any information to determine which might be the case. You should consider filling out the support post template, and maybe someone who uses nginx will spot the problem.

1 Like

Can you post your nextcloud config.php here?

What is the local IP of your reverse proxy?

Your …/nextcloud/config/config.php should contain something like this:

e.g. your reverse Proxy is hostet at 192.168.2.100

'trusted_proxies' => 
  array (
    0 => '192.168.2.100',
  ),
  'overwritehost' => 'your.domain.de',
  'overwriteconaddr' => '^192\\.168\\.2\\.100$',
  'overwriteprotocol' => 'https',
  'forward_for_headers' => 
  array (
    0 => 'X_FORWARDED_FOR',
    1 => 'HTTP_X_FORWARDED_FOR',
  ),