From 47d09c399ee2edcd1d0a6d5cd9bbe63e2a68937a Mon Sep 17 00:00:00 2001
From: ahuston-0 <aliceghuston@gmail.com>
Date: Sun, 2 Mar 2025 18:19:46 -0500
Subject: [PATCH] add server_name

---
 systems/palatine-hill/docker/nextcloud.nix | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/systems/palatine-hill/docker/nextcloud.nix b/systems/palatine-hill/docker/nextcloud.nix
index 6b1dddf..8f85f81 100644
--- a/systems/palatine-hill/docker/nextcloud.nix
+++ b/systems/palatine-hill/docker/nextcloud.nix
@@ -64,13 +64,16 @@ in
         aliasgroup2 = "https://nextcloud.alicehuston.xyz:443";
         aliasgroup3 = "https://.*:443";
         extra_params = "--o:ssl.enable=false --o:ssl.termination=true";
+        server_name = "collabora.nayeonie.com";
+        domain = "nextcloud\.alicehuston\.xyz|nextcloud\.nayeonie\.com";
+        DONT_GEN_SSL_CERT = 1;
       };
       environmentFiles = [
         config.sops.secrets."docker/collabora".path
       ];
       extraOptions = [
         "--network=haproxy-net"
-        "--privileged"
+        "--cap-add=MKNOD"
       ];
       ports = [ "9980:80" ];
     };