A full guide for installing Nextcloud on TrueNAS Scale with Collabora integration and outside access through Nginx Proxy Manager

@owl

Is it possible to access nextcloud remotely through a custom location on a proxy host? For example, I would like to access my nextcloud with mydomain.com/nextcloud.

I have a proxy host set up like this:

  • Source: mydomain.com
  • Destination https://server.ip:444 (444 is where my truenas scale gui is set to)
  • port forward 433 to 443 which is where my nginx proxy is listening on
  • so when I go to mydomain.com it sends me to the truenas scale login screen.

custom location:

  • define location: /nextcloud
  • scheme: https
  • forward hostname / IP: server.ip
  • forward port: 30027

I am still trying to get to get other parts working as I have had troubles with my first login and now troubles reinstalling nextcloud. But this is the error I get for this part.

“Nextcloud Page not found. The page could not be found on the server or you may not be allowed to view it. Back to Nextcloud Nextcloud – a safe home for all your data”

Do I have to reinstall every time I make changes to the host or install wizard settings? I had checked the config.php file and it did not look like some settings were being saved (like host).

ElectricEel-24.10.0.2