Fix for matrix
All checks were successful
Deploy NixOS / deploy (push) Successful in 48s

This commit is contained in:
2026-03-06 17:41:31 -07:00
parent 629d4d34aa
commit 82bbf7aafd

View File

@@ -172,10 +172,17 @@ in
} }
${matrixRtcDomain} { ${matrixRtcDomain} {
handle /.well-known/acme-challenge/* {
root * /var/lib/acme/acme-challenge
file_server
}
handle {
reverse_proxy http://[::1]:${toString config.services.livekit.settings.port} { reverse_proxy http://[::1]:${toString config.services.livekit.settings.port} {
flush_interval -1 flush_interval -1
} }
} }
}
''; '';
}; };
@@ -192,4 +199,13 @@ in
++ streamPorts; ++ streamPorts;
allowedUDPPorts = streamPorts; allowedUDPPorts = streamPorts;
}; };
security.acme = {
acceptTerms = true;
defaults.email = "me@${atriDotDad}";
certs."${matrixRtcDomain}" = {
webroot = "/var/lib/acme/acme-challenge";
};
};
} }