I plead your help dear community.
I have followed several tutorials and have set up Nextcloud LXC in Proxmox plus done following:
- Created a DuckDNS subdomain (nc.duckdns.org)
- Installed Nginx Proxy Manager (NPM) LXC in Proxmox and created a DuckDNS wildcard SSL for nc.duckdns.org
- Created in NPM a proxy host with domain name nc.duckdns.org, pointing to the IP of my NC LXC, forward port 443, chose https scheme and chose the SSL created earlier for nc.duckdns.org
- in DuckDNS, pointed nc.duckdns.org to the IP address to my NPM IP
- modified NC config.php according to below:
‘trusted_domains’ =>
array (
0 => ‘nc.duckdns.org’,
1 => ‘ip.of.my.nc’,
2 => ‘ip.of.my.npm’,
),
‘trusted_proxies’ => [‘ip.of.my.npm’],
‘overwriteprotocol’ => ‘https’,
‘overwritehost’ => ‘nc.duckdns.org’,
‘overwritecondaddr’ => ‘^ip.of.my.nc$’,
‘datadirectory’ => ‘/var/www/nextcloud-data’,
‘dbtype’ => ‘mysql’,
I can access my NC using my duckdns domain, and it is SSL certified (https) through lets encrypt.
I have the nextcloud app on my samsung phone, and it can access my NC using using the duckdns domain but whenever I am outside my home network, I can get in to my NC but I cannot open any files and it is an everlooping loading icon on the screen.
I need to be able to view the photos and videos easily on my NC on my phone outside of home network. Looking at my steps above, did I do any mistake or forget something? Let me know if you want to view the full config.php for more reference.
I have been stuck 6 months now! Any help is appreciated!