social icon indicating copy to clipboard operation
social copied to clipboard

nextcloud in subfolder yunohost server

Open tutle opened this issue 4 years ago • 2 comments

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

tutle avatar Jan 14 '21 23:01 tutle

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

tutle avatar Jan 15 '21 15:01 tutle

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

Thatoo avatar Dec 17 '23 11:12 Thatoo