Nextcloud uses a location ^~ /.well-known { block, which will supersede simple location /.well-known/... blocks from this app if they happen to be installed on the same domain.
[ ] The fix/enhancement were manually tested (if applicable)
Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)
Problem
Nextcloud uses a
location ^~ /.well-known {
block, which will supersede simplelocation /.well-known/...
blocks from this app if they happen to be installed on the same domain.Solution
Replace this app's block by
location = /.well-known
, which has higher priority. cf. https://docs.nginx.com/nginx/admin-guide/web-server/web-server/#nginx-location-priorityPR Status
Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)