mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 09:28:30 +02:00
nuc: configure loki
pain
This commit is contained in:
parent
5fd94d8540
commit
7291a93a1a
8 changed files with 171 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue