reconfigure nginx for mautrix-discord

This commit is contained in:
k3t
2026-07-28 11:37:07 -06:00
parent 36952f5bae
commit 86e84cad1b
@@ -67,10 +67,14 @@
log-driver = "journald";
};
};
services.nginx.virtualHosts."discord-media-mxc.k3t.dev".locations."/" = {
services.nginx.virtualHosts."discord-media-mxc.k3t.dev" = {
enableACME = false;
forceSSL = false;
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*";