hash incoming federation by source ip

This commit is contained in:
Daniel Lovbrotte Olsen 2022-12-10 05:43:25 +01:00
parent 9568a59b1b
commit d44e015ae8
1 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,9 @@ in
in if fedReceivers != [ ] then
lib.genAttrs socketAddresses (_: { })
else config.services.nginx.upstreams.synapse_master.servers;
extraConfig = ''
ip_hash;
'';
};