nextcloud / social

🎉 Social can be used for work, or to connect to the fediverse!
https://apps.nextcloud.com/apps/social
GNU Affero General Public License v3.0
488 stars 59 forks source link

nextcloud in subfolder yunohost server #1185

Open tutle opened 3 years ago

tutle commented 3 years ago

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 commented 3 years ago

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

Thatoo commented 8 months ago

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