sbruder.xyz: Remove deprecated services
This commit is contained in:
parent
8471e48598
commit
97b35d68ff
|
@ -1,4 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2023 Simon Bruder <simon@sbruder.de>
|
||||
# SPDX-FileCopyrightText: 2023-2024 Simon Bruder <simon@sbruder.de>
|
||||
#
|
||||
# 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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue