Ver código fonte

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 6 anos atrás
committed by GitHub
pai
commit
c5d18733d2
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 0 exclusões
  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 Ver arquivo

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


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




Carregando…
Cancelar
Salvar