trixie/roles/nextcloud/files/krb5-nextcloud.conf

36 lines
839 B
Text
Raw Normal View History

2020-01-13 20:44:10 +01:00
Alias /nextcloud "/var/www/nextcloud/"
<Location "/nextcloud/index.php/apps/user_saml/saml/login" >
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
</Location>
<Directory /var/www/nextcloud/>
Require all granted
Options FollowSymlinks MultiViews
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
2020-01-13 20:44:10 +01:00
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
2020-01-13 20:44:10 +01:00
</Directory>
<Directory /var/www/html>
AllowOverride FileInfo
</Directory>
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
</IfModule>