protect the controller with a password

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-29 14:28:35 +01:00
parent ce98e79865
commit 7d90e8807a
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -148,6 +148,9 @@
"redis.conf".text = '' "redis.conf".text = ''
servers = "${config.services.redis.servers.rspamd.bind}:${toString config.services.redis.servers.rspamd.port}"; servers = "${config.services.redis.servers.rspamd.bind}:${toString config.services.redis.servers.rspamd.port}";
''; '';
"worker-controller.inc".text = ''
password = "$2$xkox1hi3so3y61no8ps1enx7p56nh51s$tp8fjciao1goswpcze6g9bb9sbx3mf3kbik1iznybgia36d78jnb";
'';
}; };
workers = { workers = {
rspamd_proxy = { rspamd_proxy = {