Well you might first want to read the FAQ and Wiki which would have made you understand that OSMC is an operating system (based on Debian). Therefore obviously you first install OSMC which then you can use to install owncloud on. Owncloud is an webbased application which would require an Webserver (either Apache or nginx). You basically can follow any tutorial for installation of owncloud on raspberry or Debian Jessie.
But I run into problems when I try to secure it - ie. setup HTTPS and use a dynamic domain to access it from the internet. Any guide I find ends up having something incompatible with OSMC (a config file will be missing or somewhere else, certain configs don’t work, etc.)
Does anyone have an idiot’s guide to hardening/securing Nextcloud on OSMC?
OK, that did it. I edited /etc/apache2/sites-enabled/default-ssl.conf and the Virtualhost *:443 part was already there (from a previous step in the above mentioned guide), I just had to add the Virtualhost *80 to that part.
I think I had added that (or something similar) to 000-default.conf, but now that it’s in the right file it’s forcing everything to https.