Alias /nextcloud "/usr/share/nextcloud/"
Options +FollowSymLinks
AllowOverride All
Require all granted
Dav off
Header always set Strict-Transport-Security "max-age=15552000"
SetHandler "proxy:fcgi://127.0.0.1:9000"
SetEnv HOME /usr/share/nextcloud
SetEnv HTTP_HOME /usr/share/nextcloud
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
# just in case if .htaccess gets disabled
Require all denied