Move content from htaccess file to site config. Separate krb5 config.

This commit is contained in:
Andreas B. Mundt 2020-01-15 19:47:06 +01:00
parent e069171539
commit 97e980fbf7
4 changed files with 28 additions and 44 deletions

View file

@ -1,5 +1,3 @@
Alias /nextcloud "/var/www/nextcloud/"
<Location "/nextcloud/index.php/apps/user_saml/saml/login" >
AuthType GSSAPI
AuthName "Login to NextCloud"
@ -11,25 +9,3 @@ Alias /nextcloud "/var/www/nextcloud/"
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>
<Directory /var/www/html>
AllowOverride FileInfo
</Directory>
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
</IfModule>