Browse Source
Merge pull request #628 from ctwelve/patch-1
Update CORS for ma1sd
pull/629/head
Slavi Pantaleev
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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 %} |
|
|
|
|
|
|
|
|
|