New Instance Assistance

  1. Check ether certbot, or what I prefer acme, read more about why → Port 443 open, 80 closed - #5 by gas85. Also docu how to use them linked in github. E.g. use acme with Standalone tls-alpn mode:
acme.sh --issue --alpn -d example.com
  1. Just edit your config.php under /pathTo/nexctloud/data/config/config.php. And added something like according to your domains:
'trusted_domains' =>
  array (
    'nextcloud.yourDomain.org',
    'otherdomain.example.org',
  ),

Read more about config here: Configuration Parameters — Nextcloud latest Administration Manual latest documentation

  1. If you added NTFS to Nextcloud via External Shares, just create user for nextcloud and added it in config. Read more how to: https://docs.nextcloud.com/server/16/admin_manual/configuration_files/external_storage_configuration_gui.html
    If you what to make folders of NC accessible via NTFC, check this solution: Help integrating Nextcloud with existing unRAID file structure [long]
    Also you need to rescan this folder periodically, https://docs.nextcloud.com/server/15/admin_manual/configuration_files/external_storage_configuration_gui.html#adding-files-to-external-storages, or e.g.:
  1. This is an example of configuration file with VirtualHost Nextcloud 16 Security Scan: __Host-Prefix - #5 by Faceplant and this could be ssl.conf for it → How to disable TLS 1.0 - #11 by gas85
    Also read Step by Step in my GIST: