WiP connduwuit

This commit is contained in:
Henry Hiles 2025-03-23 13:40:24 -04:00
parent b4cc4eab4d
commit 276ec2ab40
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1 @@
{services.caddy.enable = true;}

View file

@ -0,0 +1,15 @@
{
# networking.firewall.allowedTCPPorts = [8448]; # TODO: Is this needed?
services = {
caddy.virtualHosts."matrix.henryhiles.com".extraConfig = "reverse_proxy unix//run/conduwuit/socket";
conduwuit = {
enable = true;
group = "caddy";
settings.global = {
server_name = "henryhiles.com";
unix_socket_path = "/run/conduwuit/socket";
};
};
};
}