Hi everybody,
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.
Jordan
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.
http://www.hostingpics.net/viewer.php?id=261272nextcloud01.png
http://www.hostingpics.net/viewer.php?id=657339nextcloud02.png
If you need a specific file tell me.
Thanks Jason
The cli line doesn’t look right being localhost.
Here’s mine:
'trusted_domains' =>
array (
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.
tflidd
November 2, 2016, 10:36pm
5
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.