Code: Select all
vi /mnt/md0/appdata/docker/volumes/nextcloud_nextcloud/_data/config/config.php
Code: Select all
'trusted_domains' =>
array (
0 => '192.168.1.100:8080',
1 => 'nextcloud.mydomain.com',
2 => 'UNRAID IP:PORT',
Find or create this section and edit it to look like this:
Code: Select all
'trusted_proxies' =>
array (
0 => '192.168.1.0/24',
),
Code: Select all
'forwarded_for_headers' =>
array (
0 => 'X-Forwarded-For',
1 => 'HTTP_X_FORWARDED_FOR',
),
Code: Select all
'trashbin_retention_obligation' => '30, 60',
https://nextcloud.mydomain.com
Finger's crossed you can log in with your admin user.
That's it, you're up and working.