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

.well-known check behind proxy using path is requesting a wrong URL #16817

Closed
tikoflano opened this issue Aug 20, 2019 · 3 comments
Closed

.well-known check behind proxy using path is requesting a wrong URL #16817

tikoflano opened this issue Aug 20, 2019 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@tikoflano
Copy link

The .well-known check tries to check at https://my.domain.com/.well-known/carddav when my installation is behind a proxy at https://my.domain.com/nextcloud, it should make the request to https://my.domain.com/nextcloud/.well-known/carddav.

If I try to check manually the configuration (redirection) is ok. I'm using Traefik as reverse proxy.

Right now my solution is to skip this checks with occ config:system:set check_for_working_wellknown_setup --value=false but I would like to have the checks working.

It looks like the issue is that the URLs at https://github.com/nextcloud/server/blob/master/settings/js/admin.js#L251 are hard coded.

@tikoflano tikoflano added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Aug 20, 2019
@tikoflano tikoflano changed the title .well-known check behind proxy using path .well-known check behind proxy using path is requesting a wrong URL Aug 20, 2019
@kesselb
Copy link
Contributor

kesselb commented Aug 20, 2019

#11787 (comment)

@kesselb kesselb closed this as completed Aug 20, 2019
@tikoflano
Copy link
Author

Thanks, maybe this should be added to de docs?

@kesselb
Copy link
Contributor

kesselb commented Aug 20, 2019

https://docs.nextcloud.com/server/16/admin_manual/configuration_server/reverse_proxy_configuration.html#service-discovery

Sure. You can use the Edit on Github link on the page above to suggest changes. It might be good to have some general information about .well-known or a link to https://en.wikipedia.org/wiki/List_of_/.well-known/_services_offered_by_webservers there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

2 participants