Compose-Examples/examples/nextcloud
2024-05-16 18:35:29 +02:00
..
.env Create .env 2024-05-16 18:34:43 +02:00
docker-compose-mariadb-redis.yml Rename docker-compose-redis.yml to docker-compose-mariadb-redis.yml 2024-05-16 18:35:19 +02:00
docker-compose-sqlite.yml Rename docker-compose.yml to docker-compose-sqlite.yml 2024-05-16 18:35:29 +02:00
README.md Update README.md 2024-05-15 14:57:22 +02:00

References

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:

/<your-volume-path>/config/www/nextcloud/config/config.php

Adjust the PHP file and put in your subdomains as trusted. Something like this:

<?php
$CONFIG = array (
  ...
  'trusted_domains' => 
  array (
    0 => 'nextcloud.example.com',
    1 => 'nextcloud.anotherdomain.com',
  ),
  'trusted_proxies' => 
  array (
    0 => '10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16',
  ),
  'maintenance_window_start' => 1,
  'dbtype' => 'sqlite3',
  ...
);