1 2 ServerAdmin webmaster@localhost 3 DocumentRoot /var/www/nextcloud 4 Alias /nextcloud "/var/www/nextcloud/" 5 6 7 Options +FollowSymlinks 8 AllowOverride All 9 10 11 Dav off 12 13 14 Require all granted 15 16 SetEnv HOME /var/www/nextcloud 17 SetEnv HTTP_HOME /var/www/nextcloud 18 19 20 ErrorLog ${APACHE_LOG_DIR}/nextcloud_error_log 21 CustomLog ${APACHE_LOG_DIR}/nextcloud_access_log common 22 23 24 Redirect 301 /.well-known/carddav https://lkscloud.profiit.cz/remote.php/dav 25 Redirect 301 /.well-known/caldav https://lkscloud.profiit.cz/remote.php/dav