Hardward: x86_64, 2 core CPU, 4GB ram OS: Ubuntu Linux 20.04 LTS
The idea is to set up a file server for sharing files in between small group of people.
The server is behind a router from ISP, so I had to configure the NAT Port-Forwarding to the local IP. And since there is no static IP, I also had to use script like ddns-updater.
A really nice dockerfile example can be find here: Nginx + MariaDB + PHP-FPM + letsencrypt: link to the example from Nextcloud
Add following lines to the config.php, ref.,
# inside app container, /var/www/html/config/config.php:
'overwrite.cli.url' => 'https://your.domain.name',
'overwriteprotocol' => 'https',
First aid, go into app container and check the group and user of /var/www/html/* My ultimate lazy solutions is to chmod all files to 775, ref.
Just choose STARTTLS for some reason other methods will not complain with DMARC policy.
this: https://github.com/liquidinvestigations/node/blob/master/templates/nextcloud-setup.sh