Eric Schirra
c344defdad
Update to 17.0.0 OBS-URL: https://build.opensuse.org/request/show/734403 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/nextcloud?expand=0&rev=92
29 lines
767 B
Plaintext
29 lines
767 B
Plaintext
Alias /nextcloud "@DATAPATH@/"
|
|
<Directory "@DATAPATH@">
|
|
Options +FollowSymLinks
|
|
AllowOverride All
|
|
|
|
<IfModule mod_dav.c>
|
|
Dav off
|
|
</IfModule>
|
|
|
|
<IfModule mod_headers.c>
|
|
Header always set Referrer-Policy no-referrer
|
|
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
|
|
</IfModule>
|
|
|
|
SetEnv HOME @DATAPATH@
|
|
SetEnv HTTP_HOME @DATAPATH@
|
|
</Directory>
|
|
|
|
<Directory "@DATAPATH@/data/">
|
|
# just in case if .htaccess gets disabled
|
|
Require all denied
|
|
</Directory>
|
|
|
|
Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
|
|
Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav
|
|
|
|
Redirect 301 /ocm-provider/ /nextcloud/ocm-provider/
|
|
Redirect 301 /ocs-provider/ /nextcloud/ocs-provider/
|