Skip to content

Docker-compose ready to use files for traefik2 + nextcloud apache

Notifications You must be signed in to change notification settings

Athelas-renaud/traefikv2_nextcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Traefik 2 + Nextcloud with https

Taken from multiple parts of the multiverse, sorry for not crediting... This have been tested on an AMD X64 Ubuntu (18.04/20.04)

Requirements

Docker-compose Modify the passwords, and the domains inside files

Launch and upgrade

Go into traefik directory:

docker-compose pull
docker-compose up -d

Repeat into nextcloud directory.

Ensure PHP configuration:

in your /var/www/html/config/config.php add the following :

  'trusted_domains' => 
  array (
    0 => 'YOUR_DOMAIN.COM',
  ),
    'trusted_proxies' =>
  array (
    0 => '192.168.32.0/16',
    1 => '127.0.0.0/16',
  ),
  'overwriteprotocol' => 'https',
  'overwrite.cli.url' => 'https://YOUR_DOMAIN.COM',

That's it :)

About

Docker-compose ready to use files for traefik2 + nextcloud apache

Topics

Resources

Stars

Watchers

Forks