Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nextcloud in subfolder yunohost server #1185

Open
tutle opened this issue Jan 14, 2021 · 2 comments
Open

nextcloud in subfolder yunohost server #1185

tutle opened this issue Jan 14, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@tutle
Copy link

tutle commented Jan 14, 2021

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 tutle added the enhancement New feature or request label Jan 14, 2021
@tutle
Copy link
Author

tutle commented Jan 15, 2021

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
Copy link

Thatoo commented Dec 17, 2023

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 : #1813

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants