From 853e817901098bda3ca726b60bf94c2c7618082a Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 16 Apr 2024 12:07:28 +0200 Subject: [PATCH] sbruder.xyz: Remove deprecated services --- machines/okarin/services/proxy.nix | 4 +--- machines/renge/services/sbruder.xyz/default.nix | 9 +-------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/machines/okarin/services/proxy.nix b/machines/okarin/services/proxy.nix index 8615638..b116ac1 100644 --- a/machines/okarin/services/proxy.nix +++ b/machines/okarin/services/proxy.nix @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2023 Simon Bruder +# SPDX-FileCopyrightText: 2023-2024 Simon Bruder # # SPDX-License-Identifier: AGPL-3.0-or-later @@ -6,9 +6,7 @@ let proxyMap = { "sbruder.xyz" = "renge"; - "nitter.sbruder.xyz" = "renge"; "iv.sbruder.xyz" = "renge"; - "libreddit.sbruder.xyz" = "renge"; }; in { diff --git a/machines/renge/services/sbruder.xyz/default.nix b/machines/renge/services/sbruder.xyz/default.nix index ca258ec..ecc6b73 100644 --- a/machines/renge/services/sbruder.xyz/default.nix +++ b/machines/renge/services/sbruder.xyz/default.nix @@ -3,11 +3,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later { config, pkgs, ... }: -let - goneVhost = { - locations."~ .*".return = "303 'https://sbruder.xyz/#history'"; - }; -in + { imports = [ ./blocks.nix @@ -58,7 +54,4 @@ in }; }; }; - - services.nginx.virtualHosts."nitter.sbruder.xyz" = goneVhost; - services.nginx.virtualHosts."libreddit.sbruder.xyz" = goneVhost; }