瀏覽代碼
Merge pull request #936 from irregulator/nginx_check_cors
matrix-nginx-proxy: specify Origin header, comply with CORS
pull/937/head
Slavi Pantaleev
5 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
1 個檔案被更改,包括
4 行新增 和
0 行删除
-
roles/matrix-nginx-proxy/tasks/self_check_well_known_file.yml
|
|
|
@@ -12,6 +12,8 @@ |
|
|
|
follow_redirects: none |
|
|
|
return_content: true |
|
|
|
validate_certs: "{{ well_known_file_check.validate_certs }}" |
|
|
|
headers: |
|
|
|
Origin: example.com |
|
|
|
check_mode: no |
|
|
|
register: result_well_known_matrix |
|
|
|
ignore_errors: true |
|
|
|
@@ -40,6 +42,8 @@ |
|
|
|
follow_redirects: "{{ well_known_file_check.follow_redirects }}" |
|
|
|
return_content: true |
|
|
|
validate_certs: "{{ well_known_file_check.validate_certs }}" |
|
|
|
headers: |
|
|
|
Origin: example.com |
|
|
|
check_mode: no |
|
|
|
register: result_well_known_identity |
|
|
|
ignore_errors: true |
|
|
|
|