I have a problem with my Nextcloud, it is Docker container, in my LAN it’s ok but when I want to enter in WAN I have an error trusted_domains but in my config/config.sample.php I added my domain like this :
Adding a new trusted domain
Thanks in advance for your help.
Can you paste the relevant bit of your config please? Feel free to use blanks or dashes to hide anything sensitive.
Here is my configuration file nextcloud and my nginx configuration file.
If you need a specific file tell me.
The cli line doesn’t look right being localhost.
0 => 'cloud.xxx.org',
1 => '10.10.10.54',
'overwrite.cli.url' => 'https://cloud.xxx.org:443',
'overwriteprotocol' => 'https',
'dbtype' => 'mysql',
The nginx 8000 > 80 proxy doesn’t look incorrect but I’m no nginx expert.
You don’t even get to the proxy, you have set a redirection to https (port 443 by default)
return 301 https://...
So you need to show us the relevant https-configuration of nginx.