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"; 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"; proxyPass = "http://127.0.0.1:29334";
proxyWebsockets = true; proxyWebsockets = true;
}; };
};
# Allow podman containers to access continuwuity # Allow podman containers to access continuwuity
networking.firewall.interfaces = let networking.firewall.interfaces = let
matchAll = if !config.networking.nftables.enable then "podman+" else "podman*"; matchAll = if !config.networking.nftables.enable then "podman+" else "podman*";