1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-18 09:35:22 +02:00
matrix-docker-ansible-deploy/roles/matrix-server/templates
Slavi Pantaleev 9dad4c7c2d Fix /.well-known/matrix/client for CORS
This is provoked by Github issue #46.

No client had made use of the well-known mechanism
so far, so the set up performed by this playbook was not tested
and turned out to be a little deficient.

Even though /.well-known/matrix/client is usually requested with a
simple request (no preflight), it's still considered cross-origin
and [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
applies. Thus, the file always needs to be served with the appropriate
`Access-Control-Allow-Origin` header.

Github issue #46 attempts to fix it at the "reverse-proxying" layer,
which may work, but would need to be done for every server.
It's better if it's done "upstream", so that all reverse-proxy
configurations can benefit.
2018-11-29 09:13:25 +02:00
..
corporal Add support for matrix-corporal 2018-08-21 13:34:34 +03:00
coturn Remove lt-cred-mech Coturn option 2018-10-08 08:22:40 +03:00
cron.d Switch from acmetool to certbot for SSL certificate retrieval 2018-08-29 09:37:44 +03:00
env Make Synapse cache factor configurable 2018-09-27 10:03:31 +03:00
mautrix-telegram Expose mautrix-telegram public endpoint through nginx 2018-10-21 23:20:37 +02:00
mautrix-whatsapp Add documentation and fix templates 2018-10-24 18:23:39 +02:00
mxisd Add mxisd Identity Server support 2018-08-15 10:46:13 +03:00
nginx-conf.d Fix /.well-known/matrix/client for CORS 2018-11-29 09:13:25 +02:00
riot-web Fix a few minor things for consistency 2018-11-23 11:00:08 +02:00
synapse Rename variable (matrix_synapse_ext_password_provider_ldap -> matrix_synapse_ext_password_provider_ldap_enabled) 2018-11-28 11:19:19 +02:00
systemd Rename playbook variables so they are consistently prefixed 2018-11-01 08:46:47 +02:00
usr-local-bin add script + doc to remove everything 2018-11-28 11:02:51 +01:00
well-known Add Service Discovery (/.well-known/matrix/client) support 2018-09-17 10:51:46 +03:00