summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-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";