hosts/nbg-01: add config for crowdsec traefik bouncer
This commit is contained in:
@@ -29,6 +29,18 @@
|
||||
qemu.enable = true;
|
||||
spice.enable = true;
|
||||
|
||||
sops.secrets = {
|
||||
"crowdsec/lapiKey" = {
|
||||
owner = "traefik";
|
||||
mode = "0400";
|
||||
};
|
||||
};
|
||||
|
||||
crowdsec-traefik-bouncer = {
|
||||
enable = true;
|
||||
lapiKeyFile = config.sops.secrets."crowdsec/lapiKey".path;
|
||||
};
|
||||
|
||||
traefik = {
|
||||
enable = true;
|
||||
redirectHttps = true;
|
||||
|
||||
Reference in New Issue
Block a user