Skip to content

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 #3

Description

@shad00m

Hey there, your file works great after I figured out how to change from the Staging Certificates.
But in the Admin-Panel, it shows me the warning mentioned in the title.
I added the following to get rid of the warning:

  'trusted_proxies' =>
  array (
    0 => 'localhost',
    1 => 'sub.mydomain.com',
  ),

to:
nextcloud_data/_data/config/config.php

I'm not sure if I need both entries in the array, but it works 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions