about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-08-29 12:45:15 +0900
committersefidel <contact@sefidel.net>2024-08-31 01:05:23 +0900
commit20b03d96243a82950332f73c5e44f6a88eb7d7be (patch)
tree0c11eaff14297d26df68bb9c15e9fd29dda6cc68
parent5a2557915b1aac117aa419019e9e4cd934eaa825 (diff)
downloadinfra-20b03d96243a82950332f73c5e44f6a88eb7d7be.tar.gz
infra-20b03d96243a82950332f73c5e44f6a88eb7d7be.zip
feat(systems/cobalt): soju: enable websocket
-rw-r--r--systems/cobalt/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix
index ce02982..de51b06 100644
--- a/systems/cobalt/default.nix
+++ b/systems/cobalt/default.nix
@@ -341,6 +341,10 @@ in
     services.soju = {
       enable = true;
       hostName = "bouncer.exotic.sh";
+      websocket = {
+        enable = true;
+        allowedOrigins = [ config.modules.services.gamja.realHost ];
+      };
       tls.enable = true;
       tls.acmeHost = "exotic.sh";
     };