Alias /nextcloud "/var/www/nextcloud/" AuthType GSSAPI AuthName "Login to NextCloud" GssapiAllowedMech krb5 GssapiLocalName On GssapiCredStore keytab:/etc/krb5.keytab.http GssapiUseSessions On GssapiNegotiateOnce On GssapiBasicAuth On require valid-user Require all granted Options FollowSymlinks MultiViews AllowOverride All Dav off SetEnv HOME /var/www/nextcloud SetEnv HTTP_HOME /var/www/nextcloud AllowOverride FileInfo Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"