From c5364de431203671106fd7e66a27a4c1e932c1f3 Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 4 Dec 2024 04:31:55 +0100 Subject: Host bare-bones Bluesky PDS service Signed-off-by: Mel --- machines/lapin/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'machines/lapin/default.nix') diff --git a/machines/lapin/default.nix b/machines/lapin/default.nix index 821f095..00d1608 100644 --- a/machines/lapin/default.nix +++ b/machines/lapin/default.nix @@ -10,6 +10,7 @@ ../../modules/www.nix ../../services/dendrite.nix + ../../services/pds.nix ../../services/akkoma ]; @@ -32,6 +33,19 @@ proxyPass = "http://127.0.0.1:8008"; }; }; + + "pds.rnrd.eu" = { + # NOTE: technically this isn't needed if + # we aren't using the PDS as a handle provider? + # serverAliases = [ "*.pds.rnrd.eu" ]; + forceSSL = true; + enableACME = true; + + locations."/" = { + proxyWebsockets = true; + proxyPass = "http://127.0.0.1:16419"; + }; + }; }; system.stateVersion = "23.05"; -- cgit 1.4.1