social
social copied to clipboard
nextcloud in subfolder yunohost server
How to easy configure social app in nextcloud when it's in a subfolder (of a yunohost server) ? I have the message ".well-known/webfinger" is not well configured but really don't know witch files or parameters to configure. Thanks in advance for any help
I had a precious help
in the file /etc/nginx/conf.d/domain.tld.d/nextcloud.conf
add as root location ^~ /.well-known { return 301 /nextcloud/index.php$uri; }
just before the line (15) try_files $uri $uri/ =404;
then restart nginx sudo systemctl reload nginx
I finally managed to be able to be followed.
For that, I changed the redirect nginx rule
location = /.well-known/webfinger { return 301 /nuage-nextcloud/index.php$uri; }
to
location = /.well-known/webfinger { return 301 /nuage-nextcloud/index.php$request_uri; }
However, I still can't follow, I face the same issue as here : https://github.com/nextcloud/social/issues/1813