Implement nextcloud role.
This commit is contained in:
parent
21309fb788
commit
2a161df7bb
6 changed files with 211 additions and 1 deletions
27
roles/nextcloud/files/krb5-nextcloud.conf
Normal file
27
roles/nextcloud/files/krb5-nextcloud.conf
Normal 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>
|
15
roles/nextcloud/files/nextcloud.conf
Normal file
15
roles/nextcloud/files/nextcloud.conf
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue