Hi everyone,
Iām turning crazy with my fresh Nextcloud Docker instanceā¦
Iāve setup everything like i did times before, thatās not my first OC/NC ! Anyway⦠iām here for that basic ātrusted hostsā thingā¦
My NC container is deployed following the NC documentation, i access it thru a nginx reverse proxy, where https is configured.
So, if i access my NC from https://docker@IP:container_port, it works
the /var/www/html folder is mounted as volume on my host filesystem, same thing for the data directory. Iāve configured the config.php like thatā¦
'trusted_domains' =>
array (
1 => '192.168.0.100:8080',
2 => 'cloud.mydomain.com',
),
tried from the array config.sample.php syntax as well:
'trusted_domains' =>
[
1 => '192.168.0.100:8080',
2 => 'cloud.mydomain.com',
],
tried with that settingā¦
'overwrite.cli.url' => 'https://cloud.mydomain.com'
restarted web service, containers, doesnāt work.
-> Iāve tried with the php occ commands as well, the file is correlty editedā¦
docker exec --user www-data nextcloud_app_1 php occ config:system:set trusted_domains 1 --value=cloud.mydomain.com
-> Iāve tried with the NEXTCLOUD_TRUSTED_DOMAINS environment variable in docker compose file as well, same thing !
[...]
environment:
- NEXTCLOUD_TRUSTED_DOMAINS='cloud.mydomain.com 192.168.0.100:8080'
Tried to reverse the @ip and domain name, tried to remove the @ip adress and let only the domain name : doesnāt work, and i canāt access by the ip no more. (so itās seems that i edit the correct file⦠!)
you guys have others ideas⦠?
Thanks in advance !
Arnaud