LoadModule dav_module /usr/lib/apache2/mod_dav.so # Enable php-fpm integration SetHandler "proxy:fcgi://127.0.0.1:9000" DirectoryIndex /index.php index.php # this site is now behind nginx # https://www.headdesk.me/Nginx_reverse_proxy_container # requires ondrej ppa # Protocols h2c http/1.1 # vhost for music share # access with user xpk.music / qwer-tyui-asdf-ghjk-zxcv ServerName xpk.headdesk.me ServerAlias localhost DocumentRoot /var/www/nextcloud ErrorLog /var/log/apache2/xpk.headdesk.me.err LogLevel error CustomLog /var/log/apache2/xpk.headdesk.me.log combined Alias /music /nas/music Options Indexes DAV on #AuthType Digest #AuthName "XPKMusic" #AuthDigestProvider file AuthType Basic AuthName "XPK Music" #AuthUserFile "/etc/apache2/webdav.passwd" AuthUserFile "/etc/apache2/xpkmusic.paswd" require valid-user Alias /nextcloud /var/www/nextcloud Require all granted Options +FollowSymlinks AllowOverride All Dav off SetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud Require all denied