From d1527470d38cfbd439c4da83c73ef68b02e9de9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 13 Apr 2024 12:37:41 +0200 Subject: Use new synapse host --- systems/eldiron/websites/immae/matrix/client | 4 ++-- systems/eldiron/websites/immae/matrix/server | 2 +- systems/eldiron/websites/immae/production.nix | 1 + systems/eldiron/websites/tools/default.nix | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'systems/eldiron') diff --git a/systems/eldiron/websites/immae/matrix/client b/systems/eldiron/websites/immae/matrix/client index 89136a0..8bb3d2f 100644 --- a/systems/eldiron/websites/immae/matrix/client +++ b/systems/eldiron/websites/immae/matrix/client @@ -1,11 +1,11 @@ { "m.homeserver": { - "base_url": "https://immae.ems.host" + "base_url": "https://synapse.immae.eu" }, "m.identity_server": { "base_url": "https://vector.im" }, "org.matrix.msc3575.proxy": { - "url": "https://immae.ems.host" + "url": "https://synapse.immae.eu" } } diff --git a/systems/eldiron/websites/immae/matrix/server b/systems/eldiron/websites/immae/matrix/server index 449155a..8314aa1 100644 --- a/systems/eldiron/websites/immae/matrix/server +++ b/systems/eldiron/websites/immae/matrix/server @@ -1,3 +1,3 @@ { - "m.server": "immae.ems.host:443" + "m.server": "synapse.immae.eu:443" } diff --git a/systems/eldiron/websites/immae/production.nix b/systems/eldiron/websites/immae/production.nix index 2ed4a7d..9e8cc5d 100644 --- a/systems/eldiron/websites/immae/production.nix +++ b/systems/eldiron/websites/immae/production.nix @@ -56,6 +56,7 @@ in { AllowOverride None Require all granted Header always set Access-Control-Allow-Origin "*" + Header always set Cache-Control "max-age=3600, public" Alias /patches ${patchesDir} diff --git a/systems/eldiron/websites/tools/default.nix b/systems/eldiron/websites/tools/default.nix index b396d44..b591190 100644 --- a/systems/eldiron/websites/tools/default.nix +++ b/systems/eldiron/websites/tools/default.nix @@ -79,7 +79,7 @@ let matrix = pkgs.element-web.override { conf = { default_server_config."m.homeserver" = { - base_url = "https://immae.ems.host"; + base_url = "https://synapse.immae.eu"; server_name = "immae.eu"; }; default_server_config."m.identity_server" = { -- cgit v1.2.3