Nextcloud

sudo snap install nextcloud
sudo nextcloud.enable-https lets-encrypt
sudo snap connect nextcloud:removable-media
sudo snap set nextcloud php.memory-limit=4512M

/var/snap/nextcloud/current/nextcloud/config/config.php

  'skeletondirectory' => '',
  'default_locale' => 'pl',
  'default_phone_region' => 'pl',
  'force_locale' => 'pl',
  'default_language' => "pl",
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => 'cloud.yourdomain.com',
    2 => 'ip.ip.ip.ip',
  ),