bunch of updates

This commit is contained in:
Anish Lakhwara
2025-11-14 15:09:33 -08:00
parent 7d9c921f21
commit 58513749d4
12 changed files with 143 additions and 34 deletions
+14 -1
View File
@@ -17,11 +17,14 @@
age.secrets.synapse-config.file = "${self}/secrets/synapse-config.age";
age.secrets.synapse-config.owner = "matrix-synapse";
systemd.services.matrix-synapse.serviceConfig.TimeoutStartSec = "10min";
services.matrix-synapse = {
enable = true;
settings = {
max_upload_size = "100M";
server_name = "sealight.xyz";
federation_sender_instances = [];
listeners = [
{
port = 8448;
@@ -210,7 +213,12 @@
root = "/var/www/sealight.xyz";
};
locations."/_matrix" = {
proxyPass = "http://localhost:8448";
proxyPass = "http://127.0.0.1:8448";
extraConfig = ''
proxy_read_timeout 300s;
proxy_connect_timeout 300s;
proxy_send_timeout 300s;
'';
};
# locations."/slackbridge" = {
# proxyPass = "http://localhost:9899";
@@ -222,6 +230,11 @@
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:8448";
extraConfig = ''
proxy_read_timeout 300s;
proxy_connect_timeout 300s;
proxy_send_timeout 300s;
'';
};
};
## virtual host for Riot/Web