瀏覽代碼

Merge pull request #628 from ctwelve/patch-1

Update CORS for ma1sd
pull/629/head
Slavi Pantaleev 5 年之前
committed by GitHub
父節點
當前提交
7c26d1b90e
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增0 行删除
  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 查看文件

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




Loading…
取消
儲存