mirror of
https://github.com/dali99/nixos-matrix-modules.git
synced 2024-12-22 02:47:29 +01:00
hash incoming federation by source ip
This commit is contained in:
parent
9568a59b1b
commit
d44e015ae8
@ -154,6 +154,9 @@ in
|
||||
in if fedReceivers != [ ] then
|
||||
lib.genAttrs socketAddresses (_: { })
|
||||
else config.services.nginx.upstreams.synapse_master.servers;
|
||||
extraConfig = ''
|
||||
ip_hash;
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user