From 350bdfcb905083aa399f0eff1d7b49395a9e6e62 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 22 Oct 2024 12:22:44 -0400 Subject: [PATCH] Infini-DL360/web: add swedish.fish and sweedish.fish --- hosts/Infini-DL360/web.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/Infini-DL360/web.nix b/hosts/Infini-DL360/web.nix index dbc2fc6..4378c4d 100644 --- a/hosts/Infini-DL360/web.nix +++ b/hosts/Infini-DL360/web.nix @@ -32,6 +32,7 @@ let redirects = lib.mapAttrs mkRedirect { "nitter.inx.moe" = "twitter.com"; + "sweedish.fish" = "swedish.fish"; }; in { @@ -58,6 +59,15 @@ in return = "301 https://www.ikea.com/us/en/p/blahaj-soft-toy-shark-90373590/"; }; }; + "swedish.fish" = ssl-optional // { + locations."/" = { + tryFiles = "/Blahaj.png =404"; + root = ./static; + }; + locations."/buy" = { + return = "301 https://www.ikea.com/us/en/p/blahaj-soft-toy-shark-90373590/"; + }; + }; "files.inx.moe" = ssl // { locations."/" = { root = "/srv/web/files.inx.moe";