Hello,
My domain name points to the Nextcloud homepage and it’s perfect, everything works with nginx (config found on nextcloud): https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html#nextcloud-in-the-webroot-of-nginx
I want to add a new service (kanboard) that will be placed in a different directory of the server.
Netcloud: mydomain.tld
Storage in: /var/www/nextcloud
New website : kanboard.mydomain.tld or/and mydomain.tld/kanboard
Storage in: /var/www/kanboard
I tried to add a “location” but index.php returns “file not found” and index.htm returns the nextcloud home page.
location /kanboard/ { root /var/www/kanboard; } location ~ /kanboard/.+\.php$ { allow 127.0.0.1; fastcgi_pass unix:/run/php/php7.3-fpm.sock; include fastcgi_params; #we are directly using the $request_filename as its a single php script fastcgi_param SCRIPT_FILENAME $request_filename; }
Since the nginx file for netcloud.conf contains address redirects and rewrites that I don’t know what to do, can you tell me what might work?
Nextcloud version (eg, 20.0.5): 20.0.8
Operating system and version (eg, Ubuntu 20.04): debian 10.8
Apache or nginx version (eg, Apache 2.4.25): nginx 1.14.2
PHP version (eg, 7.4): PHP 7.3