/**
Add this to config.php (in /nextcloud/config/config.php)
to make the nextcloud instance aware of being in a proxy
and using correct information when making URLs
**/
'trusted_proxies' => ['172.0.0.1'],
'overwritehost' => 'domain.com',
'overwriteprotocol' => 'https',
'overwritecondaddr' => '^172.0.0.1$',