Parcourir la source

Update CORS for ma1sd

Even with the v2 updates listed in #503 and partially addressed in #614, this is still needed to enable identity services to function with Element Desktop/Web. Testing on multiple clients with a clean config has confirmed this, at least for my installation.
pull/628/head
Justin Croonenberghs il y a 5 ans
committed by GitHub
Parent
révision
c5d18733d2
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2

+ 1
- 0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2 Voir le fichier

@@ -64,6 +64,7 @@

proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
add_header Access-Control-Allow-Origin *;
}
{% endif %}



Chargement…
Annuler
Enregistrer