Hi,
I’m trying to use Nextcloud-29 with Caddy on my server.
Nextcloud is working, but the icons on the dashboards for the extra apps are missing:
GET https:///nix-apps/contacts/img/app.svg 404 (Not Found)
My Nextcloud config is very basic, so I suspect it’s my Caddy config:
services.caddy = {
enable = true;
virtualHosts = {
"${config.services.nextcloud.hostName}".extraConfig = ''
root * ${config.services.nextcloud.package}
root /store-apps/* ${config.services.nextcloud.home}
root /nix-apps/* ${config.services.nextcloud.home}
php_fastcgi unix/${config.services.phpfpm.pools.nextcloud.socket}
redir /.well-known/carddav /remote.php/dav/ 301
redir /.well-known/caldav /remote.php/dav/ 301
# Deny access to sensible files and directories
@forbidden {
path /build/* /tests/* /config/* /lib/* /3rdparty/* /templates/* /data/*
path /.* /autotest* /occ* /issue* /indie* /db_* /console*
not path /.well-known/*
}
error @forbidden 404
file_server
request_body {
max_size 2GB
}
'';
};
};
Do you have any idea?