fix unix socket

This commit is contained in:
twoneis 2025-03-09 21:32:06 +01:00
parent c9640ad7f5
commit c855ff5bfe

View file

@ -28,8 +28,10 @@ in
services.conduwuit = {
enable = true;
group = "nginx";
settings.global = {
server_name = cfg.domain.full;
unix_socket_path = "/run/conduwuit/socket";
allow_registration = false;
};
};
@ -37,6 +39,10 @@ in
networking.firewall.allowedTCPPorts = [8448];
}
{
services.nginx.virtualHosts.${cfg.domain.full}.locations."/".proxyPass = "http://unix:/run/conduwuit/socket";
services.nginx.virtualHosts.${cfg.domain.full}.locations = {
"/" = {
proxyPass = "http://unix:/run/conduwuit/socket";
};
};
}
])