WiP connduwuit
This commit is contained in:
parent
b4cc4eab4d
commit
276ec2ab40
2 changed files with 16 additions and 0 deletions
1
clients/quadraticserver/caddy.nix
Normal file
1
clients/quadraticserver/caddy.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{services.caddy.enable = true;}
|
15
clients/quadraticserver/conduwuit.nix
Normal file
15
clients/quadraticserver/conduwuit.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue