1
1
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:
Daniel Lovbrotte Olsen 2022-12-10 05:43:25 +01:00
parent 9568a59b1b
commit d44e015ae8

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;
'';
};