ServerName netxcloud ServerAdmin netxcloud ServerAlias nextcloud.aula* nextcloud.*.lliurex DocumentRoot /var/www/nextcloud/ Redirect / https://nextcloud Options +FollowSymLinks AllowOverride All Require all granted Dav off ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined ServerSignature Off ServerName nextcloud ServerAdmin nextcloud DocumentRoot /var/www/nextcloud/ Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" Options +FollowSymLinks AllowOverride All Require all granted Dav off ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on SSLCertificateFile /etc/n4d/cert/n4dcert.pem SSLCertificateKeyFile /etc/n4d/cert/n4dkey.pem