hash incoming federation by source ip
This commit is contained in:
parent
9568a59b1b
commit
d44e015ae8
|
@ -154,6 +154,9 @@ in
|
||||||
in if fedReceivers != [ ] then
|
in if fedReceivers != [ ] then
|
||||||
lib.genAttrs socketAddresses (_: { })
|
lib.genAttrs socketAddresses (_: { })
|
||||||
else config.services.nginx.upstreams.synapse_master.servers;
|
else config.services.nginx.upstreams.synapse_master.servers;
|
||||||
|
extraConfig = ''
|
||||||
|
ip_hash;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue