Implement nextcloud role.

This commit is contained in:
Andreas B. Mundt 2020-01-13 20:44:10 +01:00
parent 21309fb788
commit 2a161df7bb
6 changed files with 211 additions and 1 deletions

View file

@ -0,0 +1,27 @@
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>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
</Directory>

View file

@ -0,0 +1,15 @@
Alias /nextcloud "/var/www/nextcloud/"
<Directory /var/www/nextcloud/>
Require all granted
Options FollowSymlinks MultiViews
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
</Directory>