summary refs log tree commit diff
path: root/machines/lapin
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-12-04 04:31:55 +0100
committerMel <einebeere@gmail.com>2024-12-04 04:31:55 +0100
commitc5364de431203671106fd7e66a27a4c1e932c1f3 (patch)
treee425cb12a307582a440611513c63635a2541a5b8 /machines/lapin
parentfa964a8d1ab2dc83386f457b51b2de87b68cbe70 (diff)
downloadnetwork-c5364de431203671106fd7e66a27a4c1e932c1f3.tar.zst
network-c5364de431203671106fd7e66a27a4c1e932c1f3.zip
Host bare-bones Bluesky PDS service
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'machines/lapin')
-rw-r--r--machines/lapin/default.nix14
1 files changed, 14 insertions, 0 deletions
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";