modified matrix config

This commit is contained in:
twoneis 2025-04-26 14:28:40 +02:00
parent eba631c680
commit 4c4863c38e

View file

@ -23,6 +23,18 @@ in
${cfg.domain.full} = {
useACMEHost = cfg.domain.base;
forceSSL = true;
listen = [
{
addr = cfg.domain.full;
port = 443;
ssl = true;
}
{
addr = cfg.domain.full;
port = 8448;
ssl = true;
}
];
locations = {
"/" = {
proxyPass = "http://localhost:${toString cfg.port}";
@ -30,12 +42,6 @@ in
};
};
};
streamConfig = ''
server {
listen 8448;
proxy_pass 127.0.0.1:${cfg.port}
}
'';
};
services.matrix-conduit = {