Bladeren bron

add matrix_continuwuity_url_preview_domain_contains_allowlist variable

pull/4400/head
Virkkunen 10 maanden geleden
bovenliggende
commit
de8b568430
2 gewijzigde bestanden met toevoegingen van 4 en 1 verwijderingen
  1. +3
    -0
      roles/custom/matrix-continuwuity/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-continuwuity/templates/continuwuity.toml.j2

+ 3
- 0
roles/custom/matrix-continuwuity/defaults/main.yml Bestand weergeven

@@ -196,3 +196,6 @@ matrix_continuwuity_environment_variables_extension: ''

matrix_continuwuity_forbidden_remote_server_names: []
matrix_continuwuity_forbidden_remote_room_directory_server_names: []

# Controls the `url_preview_domain_contains_allowlist` setting.
matrix_continuwuity_url_preview_domain_contains_allowlist: []

+ 1
- 1
roles/custom/matrix-continuwuity/templates/continuwuity.toml.j2 Bestand weergeven

@@ -1215,7 +1215,7 @@ forbidden_remote_room_directory_server_names = {{ matrix_continuwuity_forbidden_
# attack surface to your server, you are expected to be aware of the risks
# by doing so.
#
#url_preview_domain_contains_allowlist = []
url_preview_domain_contains_allowlist = {{ matrix_continuwuity_url_preview_domain_contains_allowlist | to_json }}

# Vector list of explicit domains allowed to send requests to for URL
# previews.


Laden…
Annuleren
Opslaan