Nextcloud (Linux)

Aus Tutorials
Zur Navigation springen Zur Suche springen

Installation

Siehe Nextcloud (Linux)#Migration / Update

Konfiguration

Sites

cd /etc/apache2/sites-available/
sudo nano nextcloud.conf
<VirtualHost *:80>
        ServerName nextcloud.kirner.or.at
        ServerAlias nextcloud.kirner.or.at
        Redirect / https://nextcloud.kirner.or.at
</VirtualHost>
sudo nano nextcloud-ssl.conf
<VirtualHost *:443>
    ServerName nextcloud.kirner.or.at
    ServerAlias nextcloud.kirner.or.at
    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/nextcloud.crt
    SSLCertificateKeyFile /etc/ssl/private/apache.key
    # Pfad zu den Webinhalten
    DocumentRoot /var/www/nextcloud

    KeepAlive On
    KeepAliveTimeout 5

    <IfModule mod_headers.c>
        Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
    </IfModule>

    ErrorLog ${APACHE_LOG_DIR}/nextcloud.kirner.or.at-error.log
    CustomLog ${APACHE_LOG_DIR}/nextcloud.kirner.or.at-access.log combined
</VirtualHost>
sudo a2ensite nextcloud
sudo a2ensite nextcloud-ssl
sudo service apache2 reload

Migration / Update

Migration Owncloud to Nextcloud

Links

https://apps.nextcloud.com/


Zurück zu Ubuntu