matrix-docker-ansible-deploy/roles/custom/matrix-static-files/templates/config.toml.j2
Suguru Hirahara 1cc2ff8a0e
Setting up REUSE: add copyright statements to j2 and md files in roles/custom/
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-08 05:01:12 +09:00

14 lines
367 B
Django/Jinja

{#
SPDX-FileCopyrightText: 2024 MDAD Team and contributors
SPDX-License-Identifier: AGPL-3.0-or-later
#}
#jinja2: lstrip_blocks: "True"
[[advanced.headers]]
source = "/.well-known/matrix/*"
headers.Content-Type = "application/json"
headers.Access-Control-Allow-Origin = "*"
headers.Cache-Control = "max-age={{ matrix_static_files_files_cache_time_hours * 3600 }}"