diff --git a/examples/nextcloud/README.md b/examples/nextcloud/README.md index 086cc76..becb0b1 100644 --- a/examples/nextcloud/README.md +++ b/examples/nextcloud/README.md @@ -1,3 +1,29 @@ # References -- https://hub.docker.com/r/linuxserver/nextcloud \ No newline at end of file +- https://hub.docker.com/r/linuxserver/nextcloud + +# Notes + +If you plan on using a reverse proxy, you will have to define your domain or subdomain as trusted proxy domain. + +The relevant nextcloud configuration file to define this is located at: + +```` +//config/www/nextcloud/config/config.php +```` + +Adjust the PHP file and put in your subdomains as trusted. Something like this: + +```` + + array ( + 0 => 'nextcloud.example.com', + 1 => 'nextcloud.anotherdomain.com', + ), + 'dbtype' => 'sqlite3', + ... +); +````