Hi,
I am running a Nextcloud instance using apache and php-fpm. When I look at the Nextcloud setting overview, I always get this message:
In order to fix it, I created a rewrite rule in my vhost but I still get the error:
Could anyone provide any advise on how to fix this warning please?
Thank you
I am running a Nextcloud instance using apache and php-fpm. When I look at the Nextcloud setting overview, I always get this message:
In order to fix it, I created a rewrite rule in my vhost but I still get the error:
Code:
<VirtualHost *:80>
DocumentRoot "/usr/local/www/nextcloud"
ServerName cloud.mynextcloud.uk
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>
DirectoryIndex /index.php index.php
<Directory /usr/local/www/nextcloud>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
RewriteEngine on
RewriteRule ^/\.well-known/carddav https://%{SERVER_NAME}/remote.php/dav/ [R=301,L]
RewriteRule ^/\.well-known/caldav https://%{SERVER_NAME}/remote.php/dav/ [R=301,L]
RewriteRule ^/\.well-known/host-meta https://%{SERVER_NAME}/public.php?service=host-meta [QSA,L]
RewriteRule ^/\.well-known/host-meta\.json https://%{SERVER_NAME}/public.php?service=host-meta-json [QSA,L]
RewriteRule ^/\.well-known/webfinger https://%{SERVER_NAME}/public.php?service=webfinger [QSA,L]
</Directory>
</VirtualHost>
Thank you