Nextcloud & Nginx Proxy Manager & Cloudflare


Recommended Posts

I have Nextcloud setup in unraid. I am also trying to go through Nginx Proxy Manager and to Cloudflare but I am having troubles.

In the Nextcloud config.php what ip is supposed to go in the config for trusted proxies.

I currently have the following

  'trusted_proxies' => 
  array (
    0 => '192.168.1.90',
  ),

where 192.168.1.90 is the ip of my unraid server.

 

Is this ip or another supposed to go there. Out of about a dozen posts on redit and the nextcloud forum, there are lots of different suggestions.

Can somone please set me straight.

Thanks

Link to comment
  • 1 year later...

Did you solved that issue?
I have the same situation: whatever I include (exising IPs/docker-names on my unraid server) as the trusted_proxies I get the error from Nextcloud:
"you're behind a proxy server ... your instance generates unsecure URLs ... Read the documentation here"

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.