YunoHost-Apps / synapse_ynh

Matrix server (synapse) package for YunoHost
https://matrix.org/
GNU General Public License v3.0
79 stars 43 forks source link

Give higher .well-known priority vs nextcloud #437

Closed tituspijean closed 4 months ago

tituspijean commented 4 months ago

Problem

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.

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-priority

PR 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)

tituspijean commented 4 months ago

!testme

yunohost-bot commented 4 months ago

Meow :cat2: Test Badge

Josue-T commented 4 months ago

Thanks