Reverse proxy header configuration warning

Hi there

Since good solutions have always been suggested here, I’ll try it again today.

I have set up a reverse proxy with Apache Nextcloud

I have the following error message

The reverse proxy header configuration is incorrect or accesses Nextcloud through a trusted proxy. The is not the fall, then it’s a safety problem, also the attacker allowed the IP address, the for nextcloud visible is to hide. Further information can be found in the documentation.

What do they mean and how do I fix this error

Reverse Proxy and Nextcloud Server are two different PCs and are installed on the Reverse Proxy.

Nextcloud server

NC: 18.0

apache2

PHP7.2

greeting

Martin

apparently something went wrong. have you checked the documentation about what they suggest and compared it to your setup/environment?

I have now found a solution.

Solution:

‘trusted_proxies’ => ‘192.168.178’, (IP des Proxys)

‘overwriteprotocol’ => ‘https’, (Auswahl zwischen http und https)

‘overwritewebroot’ => ‘/nextcloud’, (Wo liegt nextcloud)

The lines of code were written in the config.php