nuc: configure loki

pain
This commit is contained in:
Rouven Seifert 2024-05-25 22:31:20 +02:00
parent 5fd94d8540
commit 7291a93a1a
8 changed files with 171 additions and 42 deletions

View file

@ -42,12 +42,13 @@ in
server_name = config.networking.domain;
listeners = [{
path = "/run/matrix-synapse/server.sock";
mode = "666";
bind_addresses = [ "127.0.0.1" "::1" ];
port = 8008;
tls = false;
type = "http";
x_forwarded = true;
resources = [{
names = [ "client" "federation" ];
names = [ "client" "federation" "metrics" ];
compress = false;
}];
}];
@ -69,7 +70,7 @@ in
"${domain}".extraConfig = ''
reverse_proxy /client/* unix//run/matrix-sliding-sync/server.sock
reverse_proxy /_matrix/client/unstable/org.matrix.msc3575/sync* unix//run/matrix-sliding-sync/server.sock
reverse_proxy unix//run/matrix-synapse/server.sock
reverse_proxy 127.0.0.1:8008
'';
# element