NextCloud

Implentation notes

  • Reverse proxy operation with https only mod_proxy. NextCloud won't do redirects to https in location headers. ProxyPassReverse must be used.

           - ProxyPassReverse http://www.electricbrain.com.au/nextcloud
     
  • NextCloud container environment variables

           - OVERWRITEHOST=www.electricbrain.com.au
           - OVERWRITEPROTOCOL=https
           - OVERWRITEWEBROOT=nextcloud

  • trusted_domains:
    For anyone else having trouble with this, when it's asking for a trusted domain, it's the domain you GO TO to access NextCloud...not where you're trying to access FROM
    https://forums.unraid.net/topic/77853-solved-nextcloud-access-through-untrusted-domain/