modify mautrix.nix
This commit is contained in:
@@ -67,5 +67,14 @@
|
|||||||
log-driver = "journald";
|
log-driver = "journald";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.nginx.virtualHosts."discord-media-mxc.k3t.dev".locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:29334";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
# Allow podman containers to access continuwuity
|
||||||
|
networking.firewall.interfaces = let
|
||||||
|
matchAll = if !config.networking.nftables.enable then "podman+" else "podman*";
|
||||||
|
in {
|
||||||
|
"${matchAll}".allowedTCPPorts = [ 6167 ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user