Просмотр исходного кода

Undo ill-advised change

In #628 I proposed a CORS change that turns out not to be the root of the issue. Caffeine-addled diagnosis leads to sloppy thinking, and this change should be reverted. In fact, if left it will cause problems for new installations.
pull/629/head
Justin Croonenberghs 5 лет назад
committed by GitHub
Родитель
Сommit
31e2a1f06b
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 0 добавлений и 1 удалений
  1. +0
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2

+ 0
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2 Просмотреть файл

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


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 %}




Загрузка…
Отмена
Сохранить