mirror of
https://github.com/dali99/nixos-matrix-modules.git
synced 2025-09-10 04:53:48 +02:00
hash incoming federation by source ip
This commit is contained in:
@@ -154,6 +154,9 @@ in
|
||||
in if fedReceivers != [ ] then
|
||||
lib.genAttrs socketAddresses (_: { })
|
||||
else config.services.nginx.upstreams.synapse_master.servers;
|
||||
extraConfig = ''
|
||||
ip_hash;
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user