From f60c305e7e815e8ce60058f253d96e6ccf63e943 Mon Sep 17 00:00:00 2001 From: stitchy Date: Sun, 22 Dec 2024 20:53:39 -0800 Subject: [PATCH 1/2] fix(tanzanite): matrix not being able to sign in --- hosts/tanzanite/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/tanzanite/default.nix b/hosts/tanzanite/default.nix index 2c4e44c..85c940e 100644 --- a/hosts/tanzanite/default.nix +++ b/hosts/tanzanite/default.nix @@ -37,6 +37,7 @@ in { forceSSL = true; root = "/opt/www/stitchy.moe/public"; extraConfig = '' + add_header 'Access-Control-Allow-Origin' '*' always; error_page 404 /404.html; location = /404.html { internal; From 97e544b3f2d97867e1782414daa0e4b213f6e77f Mon Sep 17 00:00:00 2001 From: stitchy Date: Sun, 22 Dec 2024 20:53:56 -0800 Subject: [PATCH 2/2] fix(tanzanite): sliding-sync proxy --- hosts/tanzanite/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/tanzanite/default.nix b/hosts/tanzanite/default.nix index 85c940e..0130f96 100644 --- a/hosts/tanzanite/default.nix +++ b/hosts/tanzanite/default.nix @@ -58,6 +58,13 @@ in { proxyPass = "http://127.0.0.1:9008"; }; }; + "syncv3.stitchy.moe" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:8008"; + }; + }; }; };