diff --git a/flake.lock b/flake.lock index 5c198777..f31f2fce 100644 --- a/flake.lock +++ b/flake.lock @@ -254,11 +254,11 @@ "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1704207610, - "narHash": "sha256-goAc0arC/A0Pthz+bNsXzJcaqsNY7s5LcTp2WAtduCo=", + "lastModified": 1704363844, + "narHash": "sha256-Z+jcLe4hChh6ER5QTDt8jANxYYj5JRFKnkHaNcrpsB4=", "owner": "jdonszelmann", "repo": "essentials", - "rev": "229d7c8793968a319b6968c6fa06b20c393d1d12", + "rev": "a7d8c40fa969e32eee55e986cd00b8c497669007", "type": "github" }, "original": { diff --git a/nixos/hosts/olympus/nginx/configuration.nix b/nixos/hosts/olympus/nginx/configuration.nix index d8c2305f..05db5e1d 100644 --- a/nixos/hosts/olympus/nginx/configuration.nix +++ b/nixos/hosts/olympus/nginx/configuration.nix @@ -106,7 +106,7 @@ in { forceSSL = true; locations = { "/".extraConfig = '' - return 307 https://element.chat.meowy.tech; + return 303 https://element.chat.meowy.tech; ''; "/_matrix".proxyPass = "http://synapse.olympus:8008"; "/_synapse/client".proxyPass = "http://synapse.olympus:8008"; @@ -141,7 +141,9 @@ in { "es.0x76.dev" = { enableACME = true; forceSSL = true; - root = inputs.essentials.packages.${pkgs.system}.default; + locations."/".extraConfig = '' + return 303 https://bear.0x76.dev; + ''; }; "bear.0x76.dev" = { enableACME = true;