package-pipeline-nextcloud/nextcloud-27/nextcloud.site.conf
s3lph f02435f2fa
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: initial commit, split off nextcloud packages from s3lph/package-pipeline
2023-11-11 07:05:59 +01:00

33 lines
No EOL
1,005 B
Text

<VirtualHost *:80>
ServerName nextcloud.example.com
DocumentRoot /var/lib/nextcloud/webroot
Alias /dist-apps /usr/lib/nextcloud/nextcloud-apps
<Directory /var/lib/nextcloud/webroot>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
</Directory>
<Directory /usr/lib/nextcloud>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
</Directory>
<IfModule mod_dav.c>
Dav off
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
RewriteRule ^\.well-known/webfinger /public.php?service=webfinger [QSA,L]
RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
</IfModule>
</VirtualHost>